Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/automation/cta_donations.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {
async function verifyDonateCTAShows(window: Page) {
await checkCTAStrings(
window,
tStripped('finalAppeal'),
tStripped('finalAppealDescription'),
tStripped('ongoingAppeal'),
tStripped('ongoingAppealDescription'),
[tStripped('readMoreCapital')],
);
}
Expand Down
8 changes: 4 additions & 4 deletions tests/automation/enforce_localized_str.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,12 @@ function getExpectedStringFromKey(
return 'Quit';
case 'donateSessionAppealTitle':
return 'Please Read: A Personal Appeal From Cofounder of Session Chris McCabe';
case 'finalAppealDescription':
return "Your donations have helped, but the Session Technology Foundation (STF) has only received enough funding to support critical operations until the 8th of July. Development has been paused, and without additional funding the STF will shut down, resulting in Session being removed from the app stores and essential services going offline. Please help us secure Session's future.";
case 'ongoingAppealDescription':
return 'When it looked like Session might disappear, you stepped up. Your donations have given the Session Technology Foundation (STF) enough funding to enable a small team of contributors to maintain the app. Right now, the focus is keeping Session secure, stable, and online. Your donations can help support Session in this critical time. Additional donations may allow for more developers to be hired and help deliver the features needed to advance Session faster.';
case 'readMoreCapital':
return 'Read More';
case 'finalAppeal':
return 'Our Final Appeal: Session is shutting down in 90 days';
case 'ongoingAppeal':
return 'New Hope for Session';
case 'donateSessionAppealDescription':
return 'Eight years ago, Session was founded with a mission to restore your privacy. Today, Session faces a funding shortage which puts its very survival at risk. If you’ve ever found value in Session or its mission, please give me a moment of your time and read this appeal.';
case 'donateSessionAppealReadMore':
Expand Down
10 changes: 1 addition & 9 deletions tests/automation/utilities/send_media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { tStripped } from '../../localization/lib';
import { sleepFor } from '../../promise_utils';
import { testLinkTitle } from '../constants/variables';
import { Conversation, Global, Settings } from '../locators';
import { isRunningOnDevNet } from '../setup/open';
import { MediaType } from '../types/testing';
import { waitForMessageStatus } from './message';
import {
Expand All @@ -15,7 +14,6 @@ import {
clickOnWithText,
controlOrMetaFor,
pasteIntoInput,
waitForLoadingAnimationToFinish,
waitForTestIdWithText,
waitForTextMessage,
} from './utils';
Expand Down Expand Up @@ -144,13 +142,7 @@ export const sendLinkPreview = async (window: Page, testLink: string) => {
tStripped('linkPreviewsFirstDescription'),
);
await clickOnWithText(window, Global.confirmButton, tStripped('enable'));
if (!isRunningOnDevNet()) {
// when on devnet, often we don't even see the loading spinner
await waitForLoadingAnimationToFinish(
window,
Global.loadingSpinner.selector,
);
}

await waitForTestIdWithText(window, 'link-preview-image');
await waitForTestIdWithText(window, 'link-preview-title', testLinkTitle);
await clickOnElement({
Expand Down
2 changes: 1 addition & 1 deletion tests/localization/lib
Loading