Skip to content

Commit

Permalink
refactor(#3388): Add assertions to go back button
Browse files Browse the repository at this point in the history
  • Loading branch information
tenthe committed Jan 2, 2025
1 parent 94a53dd commit 4760477
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/cypress/support/utils/asset/AssetUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export class AssetUtils {
}

public static goBackToOverview() {
AssetBtns.goBackToOverviewBtn().click();
AssetBtns.goBackToOverviewBtn()
.should('be.visible')
.should('not.be.disabled')
.click();
}

public static addNewAsset(assetName: string) {
Expand Down

0 comments on commit 4760477

Please sign in to comment.