Skip to content

PB-282: Location share Whats App#657

Merged
LukasJoss merged 3 commits intodevelopfrom
feat-PB-282-location_share_whats_app
Feb 26, 2024
Merged

PB-282: Location share Whats App#657
LukasJoss merged 3 commits intodevelopfrom
feat-PB-282-location_share_whats_app

Conversation

@LukasJoss
Copy link
Contributor

@LukasJoss LukasJoss commented Feb 23, 2024

@cypress
Copy link

cypress bot commented Feb 23, 2024

Passing run #716 ↗︎

0 168 21 0 Flakiness 0

Details:

PB-282 : Merge cypress tests for social network share link sharing
Project: web-mapviewer Commit: 6f8aa418a5
Status: Passed Duration: 04:38 💡
Started: Feb 26, 2024 10:52 AM Ended: Feb 26, 2024 10:57 AM

Review all test suite changes for PR #657 ↗︎

@LukasJoss LukasJoss requested review from ltshb and pakb February 23, 2024 10:10
Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks, just a minor improvement in cypress test to do.

Comment on lines +143 to +146
it('opens a whatsapp popup with the short link as content', () => {
checkSocialNetworkType(
'whatsapp',
`https://api.whatsapp.com/send?text=%0D%0A${encodeURIComponent(dummyShortLink)}`
)
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cypress it() are quite costly in test performance and cost (if we would have a non open source software it would cost), so now we tend to do less it(), I would suggest instead of adding a new it() (test case) to merge all in it() of the social network context into one it(). Each part of the test should be separate by a cy.log() statement to ease debugging (e.g. cy.log('opens a whatsapp popup ....')

@LukasJoss LukasJoss force-pushed the feat-PB-282-location_share_whats_app branch 2 times, most recently from b72353e to a69c647 Compare February 26, 2024 10:29
@LukasJoss LukasJoss changed the title PB-282: Location share whats app PB-282: Location share Whats App Feb 26, 2024
@LukasJoss LukasJoss force-pushed the feat-PB-282-location_share_whats_app branch from ff1dc01 to 9d17786 Compare February 26, 2024 10:47
@LukasJoss LukasJoss force-pushed the feat-PB-282-location_share_whats_app branch from 9d17786 to 6f8aa41 Compare February 26, 2024 10:49
@LukasJoss LukasJoss merged commit d870079 into develop Feb 26, 2024
@LukasJoss LukasJoss deleted the feat-PB-282-location_share_whats_app branch February 26, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants