Skip to content

Commit

Permalink
Merge branch 'development' into dev_update_ip_rep
Browse files Browse the repository at this point in the history
  • Loading branch information
amiraabouhadid committed Feb 16, 2025
2 parents 590605c + 600bd12 commit 3307ae2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,14 @@ export default {
}
placeholderNode.value = node;
const features = getFeatures(gridStore, filters.value);
let missingFeatures = features.filter(value => !node.features.includes(value as Features));
if (node === undefined || node === null) {
throw `Node ${nodeId} is not on the grid`;
throw `Node ${nodeId} doesn't exist.`;
}
const features = getFeatures(gridStore, filters.value);
let missingFeatures = features.filter(value => !node?.features.includes(value as Features));
const [{ data: farms }, e1] = await resolveAsync(gridProxyClient.farms.list({ farmId: node.farmId }));
if (e1) {
throw normalizeError(e1, _defaultError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class DashboardPage:
nodes_stats = (By.XPATH, "//p[contains(@class, 'text-center') and following-sibling::p[text()='Nodes']]")
countries_stats = (By.XPATH, "//p[contains(@class, 'text-center') and following-sibling::p[text()='Countries']]")
cores_stats = (By.XPATH, "//p[contains(@class, 'text-center') and following-sibling::p[text()='Cores']]")
profile_button = (By.XPATH, '/html/body/div[1]/div/div/main/header[1]/div/div[3]/i')
profile_button = (By.CLASS_NAME, 'v-card')
profile_label = (By.XPATH, '/html/body/div[1]/div/div/main/div/div[2]/div/div/div/div[1]/div/div[1]')
qr_code_img = (By.XPATH, "//img[@alt='qrcode']")
sidebar_manual = (By.XPATH, "//span[text()='Manual']")
Expand Down

0 comments on commit 3307ae2

Please sign in to comment.