fix(HMS-3850): V2Wizard:use menu toggle for save and build

This commit is contained in:
Amir 2024-04-02 21:00:04 +03:00 committed by Klara Simickova
parent 54d032e0f0
commit 442d88a4ce
5 changed files with 113 additions and 58 deletions

View file

@ -435,9 +435,8 @@ describe('Step Upload to AWS', () => {
await enterBlueprintName();
await clickNext();
await user.click(await screen.findByRole('button', { name: /Save/ }));
await user.click(
await screen.findByRole('menuitem', { name: /Save changes/ })
await screen.findByRole('button', { name: /Save changes/ })
);
// returns back to the landing page