Skip to content

Commit 93b7e47

Browse files
committed
e2e failed nightly
1 parent 66e6d31 commit 93b7e47

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/e2e/pageObjects/components/overview-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class OverviewPanel {
99
overviewCpu = Selector('[data-test-subj=overview-cpu]');
1010
overviewConnectedClients = Selector('[data-test-subj=overview-connected-clients]');
1111
overviewCommandsSec = Selector('[data-test-subj=overview-commands-sec]');
12-
overviewSpinner = Selector('[class^= euiLoadingSpinner--medium]');
12+
overviewSpinner = Selector('[class*=euiLoadingSpinner--medium]');
1313
// BUTTONS
1414
myRedisDBLink = Selector('[data-testid=my-redis-db-btn]', { timeout: 1000 });
1515
overviewRedisStackLogo = Selector('[data-testid=redis-stack-logo]');

tests/e2e/tests/web/regression/insights/open-insights-panel.e2e.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ test
7777
await databaseAPIRequests.deleteAllDatabasesApi();
7878
})('Verify that insights panel can be opened from Welcome and Overview pages', async t => {
7979
const welcomeTutorial = 'JSON';
80-
const myRedisTutorial = 'Time series';
80+
const myRedisTutorial = 'How To Query Your Data';
8181

8282
await t.click(browserPage.NavigationPanel.myRedisDBButton);
83-
await myRedisDatabasePage.CompatibilityPromotion.clickOnLinkByName(Compatibility.TimeSeries);
83+
await myRedisDatabasePage.CompatibilityPromotion.clickOnLinkByName(Compatibility.SearchAndQuery);
8484
await t.expect(await myRedisDatabasePage.InsightsPanel.getActiveTabName()).eql(ExploreTabs.Explore);
8585
let tab = await myRedisDatabasePage.InsightsPanel.setActiveTab(ExploreTabs.Explore);
8686
await t.expect(tab.preselectArea.textContent).contains(myRedisTutorial, 'the tutorial is incorrect');
8787
await t.click(tab.nextPageButton);
88-
await tab.runBlockCode('Create time series for each shop');
88+
await tab.runBlockCode('Create the bike shop idx:bicycle');
8989
await t.expect(tab.openDatabasePopover.exists).ok('Open a database popover is not displayed');
9090
await myRedisDatabasePage.InsightsPanel.togglePanel(false);
9191
await myRedisDatabasePage.deleteAllDatabases();
@@ -96,6 +96,7 @@ test
9696
await t.expect(tab.preselectArea.textContent).contains(welcomeTutorial, 'the tutorial is incorrect');
9797
});
9898
test('Verify that user can open Explore tab into Insights panel by clicking on Explore Redis button', async t => {
99+
await t.click(browserPage.NavigationPanel.myRedisDBButton);
99100
await t.click(browserPage.exploreRedisBtn);
100101
await t.expect(browserPage.InsightsPanel.sidePanel.exists).ok('Insights panel is not opened');
101102
await t.expect(await browserPage.InsightsPanel.getActiveTabName()).eql(ExploreTabs.Explore);

0 commit comments

Comments
 (0)