Skip to content

Commit

Permalink
LPD-22188 LPD-24750 Clean up with test steps and await
Browse files Browse the repository at this point in the history
  • Loading branch information
oliv-yu authored and brianwulbern committed May 22, 2024
1 parent 9921d6d commit d9a370a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ export class SearchAdminPage {
}

async goToConnectionsTab() {
this.connectionsTab.click();
await this.connectionsTab.click();
}

async goToFieldMappingsTab() {
this.fieldMappingsTab.click();
await this.fieldMappingsTab.click();
}

async goToIndexActionsTab() {
this.indexActionsTab.click();
await this.indexActionsTab.click();
}

async reindexAllSearchIndexes() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ export const test = mergeTests(loginTest(), searchAdminPageTest);
test('should have a human-readable label for every index action', async ({
searchAdminPage,
}) => {
await test.step('Navigate to Search Admin page', async () => {
await searchAdminPage.goto();

// Navigate to Search Admin page

await searchAdminPage.goto();

await searchAdminPage.goToIndexActionsTab();
await searchAdminPage.goToIndexActionsTab();
});

// Assert that the first two items would reindex all indexes and dictionaries

Expand Down

0 comments on commit d9a370a

Please sign in to comment.