Skip to content

Commit

Permalink
improve ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed May 14, 2024
1 parent fd48cd4 commit e03225e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ describe('Marketplace_StartFreeTrial', function () {
await goToPluginsPage();
await page.click(startFreeTrialSelector);
await page.waitForSelector(noLicenseModalSelector, { visible: true });
await page.waitFor(100); // wait for correct placement

await screenshotModalSelector(noLicenseModalSelector, 'no_license_modal');
});
Expand Down
1 change: 1 addition & 0 deletions plugins/Transitions/tests/UI/Transitions_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe("Transitions", function () {
await page.goto("?" + urlBase + "#?" + generalParams + "&category=General_Actions&subcategory=Actions_SubmenuPageTitles");

await (await page.jQuery('div.dataTable tbody tr:contains("Sapce Quest")')).hover();
await page.waitForTimeout(100);
await (await page.jQuery('a.actionTransitions:visible')).hover(); // necessary to get popover to display
await (await page.jQuery('a.actionTransitions:visible')).click();

Expand Down

0 comments on commit e03225e

Please sign in to comment.