Skip to content

Commit

Permalink
common asserts, increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtzData committed Aug 25, 2024
1 parent 4c69991 commit 31f4045
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"test:prod:smoke:native_accounts": "npx playwright test --project=Chrome --grep=@NativeAccounts --retries=3 --timeout=60000",
"test:prod:smoke:userops": "npx playwright test --project=Chrome --grep=@UserOps --retries=3 --timeout=60000",
"test:prod:smoke:ens": "npx playwright test --project=Chrome --grep=@ENS --retries=3 --timeout=60000",
"test:ondemand": "npx playwright test --project=Chrome --grep=@OnDemandSmoke --retries=0 --timeout=30000",
"test:ondemand": "npx playwright test --project=Chrome --grep=@OnDemandSmoke --retries=0 --timeout=60000",
"test:prod:smoke:marketplace": "npx playwright test --project=Chrome --grep=@Marketplace --retries=3 --timeout=30000",
"test:rollup": "npx playwright test --project=Chrome --grep=@Rollup",
"test:authorized": "npx playwright test --project=Chrome --grep=@Authorized",
Expand Down
8 changes: 0 additions & 8 deletions tests/e2e/pages/NewHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export class NewHomePage extends CommonPage {
await expect(this.page.getByText(`ERC-721`)).toBeVisible()
await expect(this.page.getByText(`Max total supply`)).toBeVisible()
await expect(this.page.getByText(`Transfers`, { exact: true })).toBeVisible()
await expect(this.page.getByText(`Sponsored`)).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Inventory` })).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Token transfers` })).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Holders` })).toBeVisible()
Expand All @@ -151,7 +150,6 @@ export class NewHomePage extends CommonPage {
// await expect(this.page.getByText(`Name`)).toBeVisible()
// await expect(this.page.getByText(`Description`)).toBeVisible()
// await expect(this.page.getByText(`Attributes`)).toBeVisible()
// await expect(this.page.getByText(`Sponsored`)).toBeVisible()
}

async checkInventoryERC721MetadataTab(data: any): Promise<void> {
Expand All @@ -173,7 +171,6 @@ export class NewHomePage extends CommonPage {
await expect(this.page.getByText(`Max total supply`)).toBeVisible()
await expect(this.page.getByText(`Transfers`, { exact: true })).toBeVisible()
await expect(this.page.getByText(`Decimals`)).toBeVisible()
await expect(this.page.getByText(`Sponsored`)).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Inventory` })).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Token transfers` })).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Holders` })).toBeVisible()
Expand All @@ -188,7 +185,6 @@ export class NewHomePage extends CommonPage {
await expect(this.page.getByText(`Name`)).toBeVisible()
await expect(this.page.getByText(`Description`)).toBeVisible()
await expect(this.page.getByText(`Attributes`)).toBeVisible()
// await expect(this.page.getByText(`Sponsored`)).toBeVisible()
}

async checkInventoryERC404MetadataTab(data: any): Promise<void> {
Expand All @@ -205,7 +201,6 @@ export class NewHomePage extends CommonPage {
await expect(this.page.getByText(`ERC-1155`)).toBeVisible()
await expect(this.page.getByText(`Max total supply`)).toBeVisible()
await expect(this.page.getByText(`Transfers`, { exact: true })).toBeVisible()
await expect(this.page.getByText(`Sponsored`)).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Inventory` })).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Token transfers` })).toBeVisible()
await expect(this.page.getByRole(`tab`, { name: `Holders` })).toBeVisible()
Expand All @@ -214,10 +209,7 @@ export class NewHomePage extends CommonPage {

async checkInventoryERC1155Element(data: any): Promise<void> {
await expect(this.page.getByText(`ERC-1155`)).toBeVisible()
// await expect(this.page.getByText(`Owner`, { exact: true })).toBeVisible()
// await expect(this.page.getByText(`Creator`)).toBeVisible()
await expect(this.page.getByText(`Transfers`, { exact: true })).toBeVisible()
await expect(this.page.getByText(`Sponsored`)).toBeVisible()
}

async checkInventoryERC1155MetadataTab(data: any): Promise<void> {
Expand Down

0 comments on commit 31f4045

Please sign in to comment.