mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-05-24 10:18:53 +00:00
fix: smoke e2e tests
Signed-off-by: edvardsanta <eduardosantamarco123@outlook.com>
This commit is contained in:
parent
7dbbf90381
commit
582c227117
3 changed files with 6 additions and 6 deletions
|
|
@ -28,8 +28,8 @@ export class ContainersPage extends MainPage {
|
|||
|
||||
constructor(page: Page) {
|
||||
super(page, 'containers');
|
||||
this.pruneContainersButton = this.additionalActions.getByRole('button', { name: 'Prune containers' });
|
||||
this.createContainerButton = this.additionalActions.getByRole('button', { name: 'Create a container' });
|
||||
this.pruneContainersButton = this.additionalActions.getByRole('button', { name: 'Prune' });
|
||||
this.createContainerButton = this.additionalActions.getByRole('button', { name: 'Create' });
|
||||
this.playKubernetesYAMLButton = this.additionalActions.getByRole('button', { name: 'Play Kubernetes YAML' });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ export class ImagesPage extends MainPage {
|
|||
|
||||
constructor(page: Page) {
|
||||
super(page, 'images');
|
||||
this.pullImageButton = this.additionalActions.getByRole('button', { name: 'Pull an image' });
|
||||
this.pruneImagesButton = this.additionalActions.getByRole('button', { name: 'Prune images' });
|
||||
this.buildImageButton = this.additionalActions.getByRole('button', { name: 'Build an image' });
|
||||
this.pullImageButton = this.additionalActions.getByRole('button', { name: 'Pull' });
|
||||
this.pruneImagesButton = this.additionalActions.getByRole('button', { name: 'Prune' });
|
||||
this.buildImageButton = this.additionalActions.getByRole('button', { name: 'Build' });
|
||||
}
|
||||
|
||||
async openPullImage(): Promise<PullImagePage> {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ export class PullImagePage extends BasePage {
|
|||
constructor(page: Page) {
|
||||
super(page);
|
||||
this.heading = page.getByRole('heading', { name: 'Pull Image From a Registry' });
|
||||
this.pullImageButton = page.getByRole('button', { name: 'Pull image' });
|
||||
this.pullImageButton = page.getByRole('button', { name: 'Pull' });
|
||||
this.closeLink = page.getByRole('link', { name: 'Close' });
|
||||
this.backToImagesLink = page.getByRole('link', { name: 'Go back to Images' });
|
||||
this.manageRegistriesButton = page.getByRole('button', { name: 'Manage registries' });
|
||||
|
|
|
|||
Loading…
Reference in a new issue