diff --git a/cypress/e2e/views/applicationinventory.view.ts b/cypress/e2e/views/applicationinventory.view.ts index a7a09068e..28a0bd69b 100644 --- a/cypress/e2e/views/applicationinventory.view.ts +++ b/cypress/e2e/views/applicationinventory.view.ts @@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -export const actionButton = "div > button[aria-label='Actions']"; +export const actionButton = "button[aria-label='Kebab toggle']"; export const applicationNameInput = "input[name=name]"; export const applicationDescriptionInput = "input[name=description]"; export const applicationBusinessServiceSelect = "[placeholder='Select a business service']"; diff --git a/cypress/e2e/views/common.view.ts b/cypress/e2e/views/common.view.ts index 934521f71..10560b247 100644 --- a/cypress/e2e/views/common.view.ts +++ b/cypress/e2e/views/common.view.ts @@ -26,7 +26,7 @@ export const controlsForm = "form.pf-v5-c-form"; export const itemsPerPageMenu = "div.pf-c-options-menu"; export const itemsPerPageMenuOptions = "ul.pf-v5-c-menu__list"; export const expandRow = "button[aria-label=Details]"; -export const successAlertMessage = "div[aria-label='Success Alert']"; +export const successAlertMessage = ".pf-m-success"; export const infoAlertMessage = "div[aria-label='Info Alert']"; export const duplicateNameWarning = "h4[class*='alert__title']"; export const appTable = "table[aria-label='main-table']"; diff --git a/cypress/e2e/views/migration-wave.view.ts b/cypress/e2e/views/migration-wave.view.ts index 723b27c66..634c07dd9 100644 --- a/cypress/e2e/views/migration-wave.view.ts +++ b/cypress/e2e/views/migration-wave.view.ts @@ -22,7 +22,7 @@ export enum MigrationWaveView { waveTable = "table[aria-label='Migration waves table']", createTrackerButton = "#create-tracker", waveExpanded = "pf-m-expanded", - removeApplicationButton = ".pf-u-text-align-right > button", + removeApplicationButton = ".pf-v5-u-text-align-right > button", } export enum MigrationWavesSpecialColumns { diff --git a/cypress/utils/utils.ts b/cypress/utils/utils.ts index 41cd74b33..30efd6562 100644 --- a/cypress/utils/utils.ts +++ b/cypress/utils/utils.ts @@ -819,7 +819,6 @@ export function deleteApplicationTableRows(): void { .closest(trTag) .within(() => { click(actionButton); - cy.wait(800); }) .contains(button, deleteAction) .then(($delete_btn) => {