-
Notifications
You must be signed in to change notification settings - Fork 1.2k
RNTester automated visual tests #4699
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
Changes from all commits
bd732aa
1bc5a4a
bb9d10b
a30f96c
2804a94
f6dea0a
12edfc9
a6c0fe4
e7cb1e6
81fe0e5
ef27765
f0b1e07
61596f8
b74cd5b
3f32a89
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -157,3 +157,5 @@ bld/ | |
|
|
||
| tsdoc-metadata.json | ||
| *.dmp | ||
| **/errorShots | ||
| **/appium.txt | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "RNTester visual tests", | ||
| "packageName": "react-native-windows", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch", | ||
| "date": "2020-04-23T23:03:11.029Z" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| /** | ||
| * Copyright (c) Microsoft Corporation. All rights reserved. | ||
| * Licensed under the MIT License. | ||
| */ | ||
| /// <reference types="@wdio/sync/webdriverio-core" /> | ||
| export declare function By(testId: string): WebdriverIO.Element; | ||
| export declare function wait(timeout: number): Promise<unknown>; | ||
| export declare class BasePage { | ||
| isPageLoaded(): boolean; | ||
| waitForPageLoaded(timeout?: number): void; | ||
| protected timeoutForPageLoaded(currentTimeout?: number): number; | ||
| protected get loadButton(): WebdriverIO.Element; | ||
| private get reactControlErrorMessage(); | ||
| private isPagedLoadedOrLoadBundleError; | ||
| private waitforPageTimeout; | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| /** | ||
| * Copyright (c) Microsoft Corporation. All rights reserved. | ||
| * Licensed under the MIT License. | ||
| */ | ||
| import { BasePage } from './BasePage'; | ||
| declare class HomePage extends BasePage { | ||
| loadRNTester(): void; | ||
| } | ||
| declare const _default: HomePage; | ||
| export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| /** | ||
| * Copyright (c) Microsoft Corporation. All rights reserved. | ||
| * Licensed under the MIT License. | ||
| */ | ||
| export {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is still a draft, but this struck me as a bit unexpected. Why do we need to couple Playground to WinAppDriver, etc? Can we just load the RNTester bundle within E2ETest?