wip tests: api spec stub, add test image

This commit is contained in:
Lokesh Dhakar
2019-04-28 21:10:58 -07:00
parent f63d533d65
commit 43d8a74e6d
3 changed files with 12 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
describe('API', function() {
beforeEach(function() {
cy.visit('http://localhost:8080');
})
it('Does not do much!', function() {
// console.log(colorThief);
expect(true).to.equal(true);
// cy.get('.nav__item').contains('Blog').click();
// cy.url().should('contain', 'blog');
})
})

View File

@@ -1,7 +0,0 @@
describe('My First Test', function() {
it('Does not do much!', function() {
cy.visit('https://lokeshdhakar.com');
cy.get('.nav__item').contains('Blog').click();
cy.url().should('contain', 'blog');
})
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 42 KiB