-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: manage multiple edge devices in PWA (#757)
Closes #757 Closes #758 Closes #753 Closes #741 Closes #711 Closes #705 Closes #660 Closes #659 Closes #601 Closes #595 Closes #589 Closes #563 Closes #408 Closes #370 Closes #329 Closes #327 Closes #302 Closes #299
- Loading branch information
Ivelin Ivanov
committed
Nov 3, 2021
1 parent
9aaaff9
commit 72f72ba
Showing
75 changed files
with
41,484 additions
and
4,086 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/// <reference types="cypress" /> | ||
|
||
context('index.html', () => { | ||
beforeEach(() => { | ||
cy.visit('/') | ||
}) | ||
|
||
|
||
const checkViewPort = (cy, device) => { | ||
cy.viewport(device).window().then(win => { | ||
cy.title().should('eq', 'Ambianic UI') | ||
|
||
cy.get('head meta[name="description"][content*="Ambianic UI"]') | ||
|
||
cy.get('#welcome-text') | ||
.should('contain', 'Safer Home via Ambient Intelligence' ) | ||
|
||
cy.get('[data-cy=btn-continue]') | ||
.get('.v-btn__content') | ||
.contains('Continue', { matchCase: false }) | ||
}) | ||
} | ||
|
||
|
||
//Set an array of sizes | ||
const sizes = [ | ||
'iphone-5', 'iphone-6' , 'samsung-s10', 'samsung-note9', 'iphone-x', 'iphone-xr', | ||
'ipad-mini', 'ipad-2', 'macbook-11', 'macbook-13', | ||
'macbook-16' | ||
] | ||
|
||
describe('Find page elements correctly in a range of browser device viewports', () => { | ||
sizes.forEach(size => { | ||
it(`Should display elements correctly on ${size}`, () => { | ||
// ensure elements are shown on smaller viewports | ||
checkViewPort(cy, size) | ||
}) | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.