Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: [Placeholder] Message for simultaneous logins logout on web app #321

Merged
merged 26 commits into from
Jul 21, 2023

Conversation

borkopetrovicc
Copy link
Contributor

Description

notion card: https://www.notion.so/jwplayer/Placeholder-Message-for-simultaneous-logins-logout-on-web-app-4328d1f4287d4291ab091e79bf49e126

This PR solves # .

Screenshot 2023-06-22 at 14 44 36

Steps completed:

According to our definition of done, I have completed the following steps:

  • Acceptance criteria met
  • Unit tests added
  • Docs updated (including config and env variables)
  • Translations added
  • UX tested
  • Browsers / platforms tested
  • Rebased & ready to merge without conflicts
  • Reviewed own code

@borkopetrovicc borkopetrovicc self-assigned this Jun 22, 2023
@borkopetrovicc borkopetrovicc changed the title DesignFix: [Placeholder] Message for simultaneous logins logout on web app Fix: [Placeholder] Message for simultaneous logins logout on web app Jun 22, 2023
@github-actions
Copy link

github-actions bot commented Jun 22, 2023

Visit the preview URL for this PR (updated for commit df8d70e):

https://ottwebapp--pr321-design-change-simult-06m3vmtc.web.app

(expires Sun, 20 Aug 2023 09:29:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c198f8a3a199ba8747819f7f1e45cf602b777529

Copy link
Contributor

@naumovski-filip naumovski-filip left a comment

Choose a reason for hiding this comment

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

lgtm

@borkopetrovicc borkopetrovicc requested review from dbudzins and removed request for dbudzins June 28, 2023 13:41
Copy link
Contributor

@dbudzins dbudzins left a comment

Choose a reason for hiding this comment

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

I understand the learning curve with the tests sharing the same user, but I don't see a strong argument for changing it and in fact it results in adding boilerplate, making tests take longer, and reducing the coverage of actual flows. For the 4 subscription tests that all depend on one another I would be OK combining them provided you follow the suggestion for testing with logout and clearing the browser between steps.

@dbudzins
Copy link
Contributor

We can go back and forth about the pros and cons of the sequential tests for days, but what I really want to understand is what were the actual bug fixes for the tests that were failing?

Let's scale this PR down to just those and we can take the conversation for how we might make the test scenarios more developer friendly to another forum.

@borkopetrovicc borkopetrovicc requested review from dbudzins and removed request for dbudzins July 19, 2023 15:12
@borkopetrovicc borkopetrovicc requested review from dbudzins and removed request for dbudzins July 20, 2023 10:03
Copy link
Collaborator

@ChristiaanScheermeijer ChristiaanScheermeijer left a comment

Choose a reason for hiding this comment

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

I have no other feedback :-)

Just a tip, I would use the Github Squash & Merge option to prevent cluttering the main branch with a lot of rework commits.

You can then also rewrite the commit message to refactor(auth): simultaneous login message from login component to ensure that the changelog is (more) correct.

@borkopetrovicc borkopetrovicc requested review from dbudzins and removed request for dbudzins July 21, 2023 09:28
@borkopetrovicc
Copy link
Contributor Author

snapshots?

This has been fixed, and it is still in change request.

@borkopetrovicc borkopetrovicc dismissed dbudzins’s stale review July 21, 2023 09:34

This has been fixed, and it is still in change request.

@borkopetrovicc borkopetrovicc requested review from dbudzins and removed request for dbudzins July 21, 2023 09:35
@borkopetrovicc borkopetrovicc merged commit a7d2288 into develop Jul 21, 2023
9 checks passed
@borkopetrovicc borkopetrovicc deleted the design-change-simultaneous-logins branch July 21, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants