Skip to content

Commit 59551d7

Browse files
committed
improvements after review
1 parent f02e006 commit 59551d7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/pages/putaway/list/PutawayListTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class PutawayListTable extends BasePageModel {
3434

3535
get emptyPutawayList() {
3636
return this.table
37-
.locator('.empty fade center')
37+
.locator('.empty')
3838
.getByText('No orders match the given criteria');
3939
}
4040
}

src/pages/putaway/steps/StartStep.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { expect, Page } from '@playwright/test';
22

33
import BasePageModel from '@/pages/BasePageModel';
4-
5-
import SplitModal from '../components/SplitModal';
6-
import StartPutawayTable from '../components/StartPutawayTable';
4+
import SplitModal from '@/pages/putaway/components/SplitModal';
5+
import StartPutawayTable from '@/pages/putaway/components/StartPutawayTable';
76

87
class StartStep extends BasePageModel {
98
table: StartPutawayTable;
@@ -37,13 +36,13 @@ class StartStep extends BasePageModel {
3736

3837
get validationOnEditCompletedPutaway() {
3938
return this.page
40-
.locator('.s-alert-box-inner')
39+
.locator('[class*="alert"]')
4140
.getByText(/Can't update completed putaway/);
4241
}
4342

4443
get validationOnDeleteItemFromCompletedPutaway() {
4544
return this.page
46-
.locator('.s-alert-box-inner')
45+
.locator('[class*="alert"]')
4746
.getByText(/Can't remove an item on completed putaway/);
4847
}
4948

0 commit comments

Comments
 (0)