Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/pages/components/updatesAvailableModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { I } = inject();
class UpdatesAvailableModalComponent {
constructor() {
this.root = locate('//*[contains(@class, "MuiStack-root")]');
this.closeIcon = this.root.find('//*[@data-testid="CloseIcon"]');
this.closeIcon = this.root.find('//*[@data-testid="CloseIcon" or @data-testid="modal-close-button"]');
this.dismissButton = this.root.find('button').withText('Dismiss');
this.goToUpdatesPage = this.root.find('button').withText('Go to updates page');
}
Expand Down
4 changes: 3 additions & 1 deletion tests/upgrade/advisorsAlerting_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ Scenario(
I.amOnPage(alertsPage.url);
I.waitForElement(alertsPage.elements.alertRow(alertName), 120);

await alertsAPI.waitForAlerts(120, 1);
await alertsAPI.waitForAlerts(10, 1);
const alerts = await alertsAPI.getAlertsList();

assert.ok(alerts[0].annotations.summary.includes(alertName), `Didn't find alert with name ${alertName}`);

I.waitForElement(alertsPage.elements.alertRow(alertName), 60);
},
);

Expand Down
2 changes: 1 addition & 1 deletion tests/upgrade/dashboards_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Scenario(
await grafanaAPI.starDashboard(resp.id);
await grafanaAPI.setHomeDashboard(resp.id);

I.amOnPage('');
I.amOnPage('pmm-ui/graph/');
dashboardPage.waitForDashboardOpened();
await dashboardPage.verifyMetricsExistence([additionalPanelName]);
I.seeInCurrentUrl(grafanaAPI.customDashboardName);
Expand Down
Loading