Skip to content

Commit

Permalink
two locator fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
unlikelyzero committed Jan 12, 2024
1 parent 76d43a7 commit c49d538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/e2e/yamcs/limits.e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test.describe("Mdb runtime limits tests @yamcs", () => {
const detectorTreeItem = page.getByRole('treeitem', { name: /Detector_Temp/ });

// Enter edit mode for the overlay plot
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object');

//Drag and drop the Detector_Temp telemetry endpoint into this overlay plot
const objectPane = page.locator('.c-object-view');
Expand All @@ -66,7 +66,7 @@ test.describe("Mdb runtime limits tests @yamcs", () => {
expect(await page.locator('.c-plot-limit-line').count()).toBe(0);

// Enter edit mode
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object');

// Expand the "Detector_Temp" plot series options and enable limit lines
await page.getByRole('tab', { name: 'Config' }).click();
Expand Down Expand Up @@ -136,7 +136,7 @@ test.describe("Mdb runtime limits tests @yamcs", () => {
const detectorTreeItem = page.getByRole('treeitem', { name: /Detector_Temp/ });

// Enter edit mode for the overlay plot
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object');

//Drag and drop the Detector_Temp telemetry endpoint into this overlay plot
const objectPane = page.locator('.c-object-view');
Expand All @@ -151,7 +151,7 @@ test.describe("Mdb runtime limits tests @yamcs", () => {
expect(await page.locator('.c-plot-limit-line').count()).toBe(0);

// Enter edit mode
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object');

// Expand the "Detector_Temp" plot series options and enable limit lines
await page.getByRole('tab', { name: 'Config' }).click();
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/yamcs/quickstartSmoke.e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ test.describe("Quickstart smoke tests @yamcs", () => {
await page.goto('./', { waitUntil: 'networkidle' });

//Click the Create button
await page.click('button:has-text("Create")');
await page.getByRole('button', { name: 'Create' }).click();

// Verify that Create Folder appears in the dropdown
await expect(page.locator(':nth-match(:text("Folder"), 2)')).toBeEnabled();
Expand Down

0 comments on commit c49d538

Please sign in to comment.