Skip to content

Commit 5fa488d

Browse files
committed
fix: fix ci for playwright builds
1 parent 6bbf31f commit 5fa488d

File tree

2 files changed

+1
-74
lines changed

2 files changed

+1
-74
lines changed

.github/workflows/desktop-regression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107

108108
- uses: actions/setup-python@v4
109109
with:
110-
python-version: '3.11'
110+
python-version: '3.12'
111111

112112
- uses: actions/cache/restore@v4
113113
id: cache-desktop-modules

tests/automation/message_checks.spec.ts

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -386,76 +386,3 @@ sessionTestTwoWindows(
386386
console.log(timesArray);
387387
},
388388
);
389-
390-
// *************** NEED TO WAIT FOR LINK PREVIEW FIX *************************************************
391-
392-
test_Alice_1W_Bob_1W(
393-
'Send link 1:1',
394-
async ({ alice, aliceWindow1, bob, bobWindow1 }) => {
395-
const testMessage = 'https://example.net';
396-
const testReply = `${bob.userName} replying to link from ${alice.userName}`;
397-
398-
await createContact(aliceWindow1, bobWindow1, alice, bob);
399-
400-
await typeIntoInput(aliceWindow1, 'message-input-text-area', testMessage);
401-
await sleepFor(5000);
402-
await clickOnElement({
403-
window: aliceWindow1,
404-
strategy: 'data-testid',
405-
selector: 'send-message-button',
406-
});
407-
await sleepFor(1000);
408-
await replyTo({
409-
senderWindow: bobWindow1,
410-
textMessage: testMessage,
411-
replyText: testReply,
412-
receiverWindow: aliceWindow1,
413-
});
414-
},
415-
);
416-
417-
test_Alice_1W_Bob_1W(
418-
'Send community invite',
419-
async ({ alice, aliceWindow1, bob, bobWindow1 }) => {
420-
await createContact(aliceWindow1, bobWindow1, alice, bob);
421-
await joinCommunity(aliceWindow1);
422-
await clickOnTestIdWithText(aliceWindow1, 'conversation-options-avatar');
423-
await clickOnTestIdWithText(aliceWindow1, 'add-user-button');
424-
// Implementing in groups rebuild
425-
// await waitForTestIdWithText(
426-
// aliceWindow1,
427-
// 'modal-heading',
428-
// englishStrippedStr('membersInvite').toString(),
429-
// );
430-
// await clickOnTestIdWithText(aliceWindow1, 'contact', bob.userName);
431-
await clickOnMatchingText(aliceWindow1, bob.userName);
432-
// await clickOnTestIdWithText(aliceWindow1, 'session-confirm-ok-button');
433-
await clickOnMatchingText(
434-
aliceWindow1,
435-
englishStrippedStr('okay').toString(),
436-
);
437-
// Implementing in groups rebuild
438-
// await clickOnTestIdWithText(aliceWindow1, 'modal-close-button');
439-
await clickOnTestIdWithText(
440-
aliceWindow1,
441-
'module-conversation__user__profile-name',
442-
bob.userName,
443-
);
444-
await Promise.all([
445-
waitForElement(
446-
aliceWindow1,
447-
'class',
448-
'group-name',
449-
undefined,
450-
testCommunityName,
451-
),
452-
waitForElement(
453-
bobWindow1,
454-
'class',
455-
'group-name',
456-
undefined,
457-
testCommunityName,
458-
),
459-
]);
460-
},
461-
);

0 commit comments

Comments
 (0)