mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
35 lines
918 B
JavaScript
35 lines
918 B
JavaScript
import * as constants from '../../support/constants.js'
|
|
import * as main from '../pages/main.page.js'
|
|
import * as nfts from '../pages/nfts.pages.js'
|
|
import { getSafes, CATEGORIES } from '../../support/safes/safesHandler.js'
|
|
|
|
let staticSafes = []
|
|
|
|
const nftsName = 'CatFactory'
|
|
const nftsAddress = '0x373B...866c'
|
|
const nftsTokenID = 'CF'
|
|
|
|
describe('NFTs 2 tests', () => {
|
|
before(async () => {
|
|
staticSafes = await getSafes(CATEGORIES.static)
|
|
})
|
|
|
|
beforeEach(() => {
|
|
cy.visit(constants.balanceNftsUrl + staticSafes.SEP_STATIC_SAFE_2)
|
|
nfts.waitForNftItems(2)
|
|
})
|
|
|
|
it('Verify that NFTs exist in the table', () => {
|
|
nfts.verifyNFTNumber(10)
|
|
})
|
|
|
|
it('Verify NFT row contains data', () => {
|
|
nfts.verifyDataInTable(nftsName, nftsAddress, nftsTokenID)
|
|
})
|
|
|
|
it('Verify NFT open does not open if no NFT exits', () => {
|
|
nfts.clickOnInactiveNFT()
|
|
nfts.verifyNFTModalDoesNotExist()
|
|
})
|
|
})
|