Skip to content

Commit

Permalink
ui-tests minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
sgauruseu committed Nov 12, 2024
1 parent e46c125 commit a184998
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions testing/libs/test.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ module.exports = {
}
//2. Open New Principal dialog:
await browsePanel.waitForNewButtonEnabled();
await browsePanel.pause(400);
await browsePanel.clickOnNewButton();
await newPrincipalDialog.waitForDialogLoaded();
//3. Click on Group item in the modal dialog:
Expand Down
3 changes: 2 additions & 1 deletion testing/tests/idprovider.with.required.inputs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ describe('Id Provider, provider-dialog specification', function () {
it(`GIVEN id provider with a configuration is selected WHEN Create New User menu item has been clicked THEN expected notification message should appear`,
async () => {
let userBrowsePanel = new UserBrowsePanel();
await userBrowsePanel.pause(2000);
// 1. Select an existing provider with configurator then click on Create User menu item in the modal dialog:
await testUtils.selectIdProviderAndClickOnMenuItem(TEST_ID_PROVIDER_NAME, "User");
await testUtils.selectIdProviderAndClickOnMenuItem(TEST_ID_PROVIDER_NAME, 'User');
// 2. Verify the actual notification message - The application does not allow to create users
let actualMessage = await userBrowsePanel.waitForNotificationMessage();
await testUtils.saveScreenshot('app_does_not_allow_users');
Expand Down

0 comments on commit a184998

Please sign in to comment.