Progress
This commit is contained in:
parent
6063add9ae
commit
cdf64ab09b
|
@ -70,6 +70,7 @@ export default class Button extends React.PureComponent {
|
||||||
disabled && styles.disabled,
|
disabled && styles.disabled,
|
||||||
style
|
style
|
||||||
]}
|
]}
|
||||||
|
accessibilityLabel={title}
|
||||||
{...otherProps}
|
{...otherProps}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// https://github.com/RocketChat/Rocket.Chat/blob/develop/definition/ITeam.ts
|
// https://github.com/RocketChat/Rocket.Chat/blob/develop/definition/ITeam.ts
|
||||||
export const TEAM_TYPE = {
|
exports.TEAM_TYPE = {
|
||||||
PUBLIC: 0,
|
PUBLIC: 0,
|
||||||
PRIVATE: 1
|
PRIVATE: 1
|
||||||
};
|
};
|
||||||
|
|
|
@ -65,13 +65,13 @@ describe('E2E Encryption', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should tap "How it works" and navigate', async() => {
|
it('should tap "How it works" and navigate', async() => {
|
||||||
await element(by.id('e2e-save-password-view-how-it-works').and(by.text('How It Works'))).tap();
|
await element(by.id('e2e-save-password-view-how-it-works').and(by.label('How It Works'))).tap();
|
||||||
await waitFor(element(by.id('e2e-how-it-works-view'))).toBeVisible().withTimeout(2000);
|
await waitFor(element(by.id('e2e-how-it-works-view'))).toBeVisible().withTimeout(2000);
|
||||||
await tapBack();
|
await tapBack();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should tap "Save my password" and close modal', async() => {
|
it('should tap "Save my password" and close modal', async() => {
|
||||||
await element(by.id('e2e-save-password-view-saved-password').and(by.text('I Saved My E2E Password'))).tap();
|
await element(by.id('e2e-save-password-view-saved-password').and(by.label('I Saved My E2E Password'))).tap();
|
||||||
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(2000);
|
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(2000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
14
package.json
14
package.json
|
@ -188,18 +188,10 @@
|
||||||
"detox": {
|
"detox": {
|
||||||
"runner-config": "e2e/.mocharc.json",
|
"runner-config": "e2e/.mocharc.json",
|
||||||
"specs": "e2e/tests",
|
"specs": "e2e/tests",
|
||||||
"devices": {
|
|
||||||
"emulator": {
|
|
||||||
"type": "android.emulator",
|
|
||||||
"device": {
|
|
||||||
"avdName": "Pixel_API_28_AOSP"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"apps": {
|
"apps": {
|
||||||
"android.experimental.play.debug": {
|
"android.experimental.play.debug": {
|
||||||
"type": "android.apk",
|
"type": "android.apk",
|
||||||
"binaryPath": "android/app/build/outputs/apk/debug/app-Experimental-Play-debug.apk",
|
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-Experimental-Play-debug.apk",
|
||||||
"build": "cd android && ./gradlew assembleExperimentalPlayDebug assembleExperimentalPlayAndroidTest -DtestBuildType=debug && cd .."
|
"build": "cd android && ./gradlew assembleExperimentalPlayDebug assembleExperimentalPlayAndroidTest -DtestBuildType=debug && cd .."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -235,13 +227,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"android.experimental.play.emu.debug": {
|
"android.experimental.play.emu.debug": {
|
||||||
"device": "emu",
|
"device": "Pixel_API_28_AOSP",
|
||||||
"type": "android.emulator",
|
"type": "android.emulator",
|
||||||
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-debug.apk",
|
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-debug.apk",
|
||||||
"build": "cd android && ./gradlew app:assembleExperimentalPlayDebug app:assembleAndroidTest -DtestBuildType=debug && cd .."
|
"build": "cd android && ./gradlew app:assembleExperimentalPlayDebug app:assembleAndroidTest -DtestBuildType=debug && cd .."
|
||||||
},
|
},
|
||||||
"android.experimental.play.emu.release": {
|
"android.experimental.play.emu.release": {
|
||||||
"device": "emu",
|
"device": "Pixel_API_28_AOSP",
|
||||||
"type": "android.emulator",
|
"type": "android.emulator",
|
||||||
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-release.apk",
|
"binaryPath": "android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-release.apk",
|
||||||
"build": "cd android && ./gradlew app:assembleExperimentalPlayRelease app:assembleAndroidTest -DtestBuildType=release && cd .."
|
"build": "cd android && ./gradlew app:assembleExperimentalPlayRelease app:assembleAndroidTest -DtestBuildType=release && cd .."
|
||||||
|
|
Loading…
Reference in New Issue