Skip to content

Commit

Permalink
Added test case to copy tag
Browse files Browse the repository at this point in the history
  • Loading branch information
snake14 committed Nov 20, 2024
1 parent ff8bd09 commit 23d04dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/UI/ContainerTag_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -571,4 +571,12 @@ describe("ContainerTag", function () {
pageWrap = await page.waitForSelector('div.ui-dialog.mtmCopyTag');
expect(await pageWrap.screenshot()).to.matchImage('copy_tag_site_selected');
});

it('should be able to copy tag', async function () {
await page.goto(container1Base);
await clickFirstRowTableAction('icon-content-copy', 3);
await page.evaluate(() => $('div.copyMtmObjectDialog button.btn').click());
await page.waitForTimeout(250);
await capture.page(page, 'copy_tag_success');
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 23d04dc

Please sign in to comment.