Skip to content

Commit

Permalink
Revert "fix test"
Browse files Browse the repository at this point in the history
This reverts commit 8cb7b35.
  • Loading branch information
alisonelizabeth committed Jun 27, 2023
1 parent d74323c commit dbb4afc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/apps/console/_context_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

it('should copy as curl and show toast when copy as curl button is clicked', async () => {
await PageObjects.console.clearTextArea();
await PageObjects.console.enterRequest();
await PageObjects.console.clickContextMenu();
await PageObjects.console.clickCopyAsCurlButton();

const toastText = await toasts.getToastContent(1);
const resultToast = await toasts.getToastElement(1);
const toastText = await resultToast.getVisibleText();

if (toastText.includes('Write permission denied')) {
log.debug('Write permission denied, skipping test');
Expand Down

0 comments on commit dbb4afc

Please sign in to comment.