Skip to content

Commit

Permalink
test(unit): update view-hierarchy XML snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Aug 31, 2024
1 parent 452e24e commit 7a9bf2d
Show file tree
Hide file tree
Showing 9 changed files with 634 additions and 634 deletions.
4 changes: 2 additions & 2 deletions detox/test/e2e/06.device.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ describe('Device', () => {
await expect(element(by.text('Hello!!!'))).toBeVisible();
});

it.only('generateViewHierarchyXml() - should generate a valid view hierarchy XML without injected test-ids', async () => {
it('generateViewHierarchyXml() - should generate a valid view hierarchy XML without injected test-ids', async () => {
await device.launchApp({newInstance: true});
const hierarchy = await device.generateViewHierarchyXml();
await expectViewHierarchySnapshotToMatch(hierarchy, `view-hierarchy-without-test-id-injection`);
});

it.only('generateViewHierarchyXml(true) - should generate a valid view hierarchy XML with injected test-ids', async () => {
it('generateViewHierarchyXml(true) - should generate a valid view hierarchy XML with injected test-ids', async () => {
await device.launchApp({newInstance: true});
const hierarchy = await device.generateViewHierarchyXml(true);
await expectViewHierarchySnapshotToMatch(hierarchy, `view-hierarchy-with-test-id-injection`);
Expand Down

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions detox/test/e2e/assets/view-hierarchy-with-test-id-injection.71.ios.txt

Large diffs are not rendered by default.

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions detox/test/e2e/assets/view-hierarchy-with-test-id-injection.73.ios.txt

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 7a9bf2d

Please sign in to comment.