mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-25 13:54:25 +00:00
wip tests: api spec stub, add test image
This commit is contained in:
12
cypress/integration/api_spec.js
Normal file
12
cypress/integration/api_spec.js
Normal 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');
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -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 |
Reference in New Issue
Block a user