This commit is contained in:
Nolan Lawson 2018-02-18 15:30:42 -08:00
parent f4eeacdc1c
commit 03073ac846
7 changed files with 39 additions and 34 deletions

View file

@ -27,5 +27,4 @@ describe('Basic spec', () => {
cy.url().should('contain', '/settings/instances')
cy.contains("You're not logged in to any instances")
})
})

View file

@ -33,5 +33,4 @@ describe('Login spec', () => {
cy.url().should('contain', '/settings/instances')
cy.contains("You're not logged in to any instances")
})
})

View file

@ -25,9 +25,9 @@ describe('Basic timeline spec', () => {
cy.getNthVirtualArticle(10).get('.status-content p').should('contain', "here's a secret kitten")
cy.getNthVirtualArticle(11).get('.status-content p').should('contain', "here's a kitten")
cy.getNthVirtualArticle(11).scrollIntoView()
cy.getNthVirtualArticle(12).get('.status-content p').should('contain', "hello admin")
cy.getNthVirtualArticle(13).get('.status-content p').should('contain', "hello foobar")
cy.getNthVirtualArticle(14).get('.status-content p').should('contain', "hello world")
cy.getNthVirtualArticle(12).get('.status-content p').should('contain', 'hello admin')
cy.getNthVirtualArticle(13).get('.status-content p').should('contain', 'hello foobar')
cy.getNthVirtualArticle(14).get('.status-content p').should('contain', 'hello world')
cy.getNthVirtualArticle(14).scrollIntoView()
for (let i = 0; i < 30; i++) {
@ -36,6 +36,5 @@ describe('Basic timeline spec', () => {
}
cy.get('.virtual-list-item[aria-hidden=false] .status-article:first').should('have.attr', 'aria-setsize', (30 + 15).toString())
})
})

View file

@ -91,11 +91,19 @@
"caches",
"__routes__",
"__shell__",
"__assets__"
"__assets__",
"cy",
"Cypress",
"expect",
"before",
"beforeEach",
"after",
"afterEach",
"describe",
"it"
],
"ignore": [
"dist",
"cypress",
"routes/_utils/asyncModules.js"
]
}