Skip to content
Merged
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 test/helpers/widgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const WIDGETS: Record<WidgetId, WidgetMetadata> = {
listItemId: 'WidgetListItem-facts',
actionName: 'Bitcoin Facts',
homeId: () => (driver.isIOS ? 'FactsWidget' : undefined),
hasSettings: () => driver.isIOS,
hasSettings: () => false,
},
weather: {
listItemId: 'WidgetListItem-weather',
Expand All @@ -55,7 +55,7 @@ const WIDGETS: Record<WidgetId, WidgetMetadata> = {
},
calculator: {
listItemId: 'WidgetListItem-calculator',
actionName: 'Calculator',
actionName: 'Bitcoin Calculator',
homeId: () => 'CalculatorWidget',
hasSettings: () => false,
},
Expand Down
2 changes: 1 addition & 1 deletion test/specs/pubky-profile.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import { ciIt } from '../helpers/suite';
// Covers scenarios from docs/pubky-profile-manual-e2e.md.
// Each test reinstalls + onboards so any single test can be run in isolation
// (e.g. `--mochaOpts.grep "@pubky_profile_2"` or `"@pubky_profile_3"`).
describe('@pubky @pubky_profile - Pubky profile', () => {
describe.skip('@pubky @pubky_profile - Pubky profile', () => {
beforeEach(async () => {
await reinstallApp();
await completeOnboarding();
Expand Down
19 changes: 3 additions & 16 deletions test/specs/widgets.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,14 @@ describe('@widgets - Widgets', () => {
await elementByText('Default').waitForDisplayed();
await openWidgetSettings('price');

await tap(driver.isAndroid ? 'BTC/EUR_setting_row' : 'WidgetEditField-BTC/EUR');
await tap('BTC/EUR_setting_row');
await sleep(1000);

await swipeFullScreen('up');
await swipeFullScreen('up');
await sleep(500);

await tap(driver.isAndroid ? '1W_setting_row' : 'WidgetEditField-1W');
if (driver.isIOS) {
await tap('WidgetEditField-showSource');
}
await tap('1W_setting_row');
await sleep(1000);

await tap('WidgetEditPreview');
Expand Down Expand Up @@ -84,23 +81,13 @@ describe('@widgets - Widgets', () => {
});

ciIt('@widgets_2 - Can add/remove redesigned content widgets', async () => {
const contentWidgets: WidgetId[] = ['blocks', 'news', 'facts', 'weather'];
const contentWidgets: WidgetId[] = ['blocks', 'news', 'facts', 'weather', 'calculator'];

await deleteAllDefaultWidgets();

for (const widget of contentWidgets) {
await addWidget(widget);
await expectWidgetSavedInEditList(widget);

if (widget === 'facts') {
await openSavedWidgetPreview(widget);
await elementById('WidgetEdit').waitForDisplayed({
reverse: driver.isAndroid,
timeout: 5000,
});
await tap('NavigationBack');
}

await deleteWidget(widget);
}
});
Expand Down