Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
mobile and desktop testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TumiPare committed Sep 28, 2023
1 parent 478d222 commit 7507f78
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
Binary file not shown.
2 changes: 2 additions & 0 deletions app/WhereIsThePower/cypress/e2e/desktop.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ describe('Navigation Test', () => {
})

it('should log out', () => {
cy.viewport('iphone-6')
cy.visit('/tabs/tab-profile')
cy.get('.in-toolbar > .list-md > :nth-child(2)').click()
cy.get('[data-cy="input-fn"]').type("Bob")
Expand All @@ -95,5 +96,6 @@ describe('Navigation Test', () => {
})



})

14 changes: 0 additions & 14 deletions app/WhereIsThePower/src/app/tab-profile/tab-profile.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,6 @@ <h5>
<ion-label>Desktop</ion-label>
</ion-item>
<ion-row>
<ion-col size="12" size-md="11" offset-md="0.5" size-xl="10" offset-xl="1">
<ion-toolbar>
<ion-list>
<ion-item data-cy="login-button" detail="true" (click)="showLoginComponent()">
<ion-icon name="log-in-outline" class="ion-padding-end"></ion-icon>
<ion-label>Login to my account</ion-label>
</ion-item>
<ion-item button detail="true" (click)="showSignupComponent()">
<ion-icon name="person-add-outline" class="ion-padding-end"></ion-icon>
<ion-label>Sign up for an account</ion-label>
</ion-item>
</ion-list>
</ion-toolbar>
</ion-col>
<ion-col size="12" size-md="11" offset-md="0.5" size-xl="10" offset-xl="1">
<ion-item>
<ion-label color="primary" style="text-align: center;">Terms of Service</ion-label>
Expand Down

0 comments on commit 7507f78

Please sign in to comment.