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

Adds in disappearing messages test turning off #7

Merged

Conversation

burtonemily
Copy link
Collaborator

And delete contact test

Comment on lines +320 to +358
// Each window has two control messages: You turned off and other user turned off (because we're following settings)
await Promise.all([
waitForTestIdWithText(
aliceWindow1,
'disappear-control-message',
englishStrippedStr('disappearingMessagesTurnedOffYou').toString(),
),
waitForTestIdWithText(
aliceWindow1,
'disappear-control-message',
englishStrippedStr('disappearingMessagesTurnedOff')
.withArgs({ name: bob.userName })
.toString(),
),
waitForTestIdWithText(
aliceWindow2,
'disappear-control-message',
englishStrippedStr('disappearingMessagesTurnedOffYou').toString(),
),
waitForTestIdWithText(
aliceWindow2,
'disappear-control-message',
englishStrippedStr('disappearingMessagesTurnedOff')
.withArgs({ name: bob.userName })
.toString(),
),
waitForTestIdWithText(
bobWindow1,
'disappear-control-message',
englishStrippedStr('disappearingMessagesTurnedOff')
.withArgs({ name: alice.userName })
.toString(),
),
waitForTestIdWithText(
bobWindow1,
'disappear-control-message',
englishStrippedStr('disappearingMessagesTurnedOffYou').toString(),
),
]);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm wanting to create a function that separates out the control message checks but thought I would do it in a different PR. There are alot of control messages and its kinda clogging up the test.

@burtonemily burtonemily merged commit 8f18c1f into session-foundation:main Dec 17, 2024
@burtonemily burtonemily deleted the turn_off_disappearing_messages branch December 20, 2024 03:03
Bilb pushed a commit that referenced this pull request Jan 24, 2025
fix: fix the non-groups test for the groups changes
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.

2 participants