forked from ONEARMY/community-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ONEARMY#3000 from benfurber/2927-2-hide-member-map…
…pins fix: hide member mappins on precious plastic
- Loading branch information
Showing
7 changed files
with
66 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -326,10 +326,17 @@ describe('[Settings]', () => { | |
}, | ||
} | ||
cy.login('[email protected]', 'test1234') | ||
cy.step('Go to User Settings') | ||
|
||
cy.step('Go to User Settings for Precious Plastic') | ||
localStorage.setItem('platformTheme', 'precious-plastic') | ||
cy.clickMenuItem(UserMenuItem.Settings) | ||
selectFocus(expected.profileType) | ||
cy.get('[data-cy=pin-description]').should('not.exist') | ||
|
||
cy.step('Go to User Settings for Project Kamp') | ||
localStorage.setItem('platformTheme', 'project-kamp') | ||
cy.clickMenuItem(UserMenuItem.Settings) | ||
selectFocus(expected.profileType) | ||
cy.get('[data-cy=location-dropdown]').should('exist') | ||
|
||
cy.get('[data-cy="add-a-map-pin"]').click() | ||
|
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 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