Skip to content

Commit 64ee621

Browse files
committed
chore(tests): addressing changes 2
Signed-off-by: Tamara Babalova <[email protected]>
1 parent c454c25 commit 64ee621

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/playwright/src/model/pages/create-machine-page.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ export class CreateMachinePage extends BasePage {
4242
this.heading = this.page.getByRole('heading', { name: 'Create Podman Machine' });
4343
this.podmanMachineConfiguration = this.page.getByRole('form', { name: 'Properties Information' });
4444
this.podmanMachineName = this.podmanMachineConfiguration.getByRole('textbox', { name: 'Name' });
45-
this.imagePathBox = this.page.getByRole('textbox', { name: 'Image Path (Optional) ' });
46-
this.browseImagesButton = this.page.getByRole('button', { name: 'button-Image Path (Optional)' });
45+
this.imagePathBox = this.podmanMachineConfiguration.getByRole('textbox', { name: 'Image Path (Optional) ' });
46+
this.browseImagesButton = this.podmanMachineConfiguration.getByRole('button', {
47+
name: 'button-Image Path (Optional)',
48+
});
4749
this.podmanMachineCPUs = this.podmanMachineConfiguration.getByRole('slider', { name: 'CPU(s)' });
4850
this.podmanMachineMemory = this.podmanMachineConfiguration.getByRole('slider', { name: 'Memory' });
4951
this.podmanMachineDiskSize = this.podmanMachineConfiguration.getByRole('slider', { name: 'Disk size' });

0 commit comments

Comments
 (0)