Skip to content

Commit

Permalink
revert to keeping check for delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
eokoneyo committed Mar 12, 2024
1 parent 31519cb commit 59d7102
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/functional/page_objects/home_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ export class HomePageObject extends FtrService {
const installStatus = await (
await sampleDataCard.findByCssSelector('[data-status]')
).getAttribute('data-status');

return installStatus === 'installed';
const deleteButton = await sampleDataCard.findAllByTestSubject(`removeSampleDataSet${id}`);
this.log.debug(`Sample data installed: ${deleteButton.length > 0}`);
return installStatus === 'installed' && deleteButton.length > 0;
}

async isWelcomeInterstitialDisplayed() {
Expand Down

0 comments on commit 59d7102

Please sign in to comment.