-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into color-picker
- Loading branch information
Showing
141 changed files
with
3,084 additions
and
2,821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ symlinked-packages | |
symlinked-packages-in-parent | ||
react-native-aztec | ||
bundle | ||
jetpack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Release for Gutenberg Mobile v1.XX.Y | ||
|
||
## Related PRs | ||
|
||
- Gutenberg: https://github.com/WordPress/gutenberg/pull/ | ||
- WPAndroid: https://github.com/wordpress-mobile/WordPress-Android/pull/ | ||
- WPiOS: https://github.com/wordpress-mobile/WordPress-iOS/pull/ | ||
|
||
- Aztec-iOS: https://github.com/wordpress-mobile/AztecEditor-iOS/pull/ | ||
- Aztec-Android: https://github.com/wordpress-mobile/AztecEditor-Android/pull | ||
|
||
## Extra PRs that Landed After the Release Was Cut | ||
|
||
- [ ] PR 1 | ||
- [ ] PR 2 | ||
|
||
## Changes | ||
<!-- To determine the changes you can check the RELEASE-NOTES.txt file and cross check with the list of commits that are part of the PR --> | ||
|
||
- Change 1 | ||
- Change 2 | ||
|
||
## Test plan | ||
|
||
- Use the main WP apps to test the changes above. | ||
- Check WPAndroid and WPiOS PRs if there are specific tests to run. | ||
- Smoke test the main WP apps for [general writing flow](https://github.com/wordpress-mobile/test-cases/tree/master/test-cases/gutenberg/writing-flow). | ||
|
||
## Release Submission Checklist | ||
|
||
- [ ] Release number was bumped | ||
- [ ] Aztec dependencies are pointing to a stable release | ||
- iOS: 'grep WordPressAztec-iOS RNTAztecView.podspec' | ||
- Android: 'grep aztecVersion react-native-aztec/android/build.gradle' | ||
- [ ] Gutenberg 'Podfile' and 'Podfile.lock' inside './ios/' are updated to the release number | ||
- [ ] Bundle package of the release is updated | ||
- [ ] Check if `RELEASE-NOTES.txt` is updated with all the changes that made it to the release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "gutenberg"] | ||
path = gutenberg | ||
url = ../../WordPress/gutenberg.git | ||
[submodule "jetpack"] | ||
path = jetpack | ||
url = ../../Automattic/jetpack.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/** | ||
* @format | ||
* */ | ||
|
||
/** | ||
* Internal dependencies | ||
*/ | ||
import EditorPage from './pages/editor-page'; | ||
import { | ||
setupDriver, | ||
isLocalEnvironment, | ||
stopDriver, | ||
} from './helpers/utils'; | ||
|
||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000000; | ||
|
||
describe( 'Gutenberg Editor Latest Post Block tests', () => { | ||
let driver; | ||
let editorPage; | ||
let allPassed = true; | ||
|
||
// Use reporter for setting status for saucelabs Job | ||
if ( ! isLocalEnvironment() ) { | ||
const reporter = { | ||
specDone: async ( result ) => { | ||
allPassed = allPassed && result.status !== 'failed'; | ||
}, | ||
}; | ||
|
||
jasmine.getEnv().addReporter( reporter ); | ||
} | ||
|
||
beforeAll( async () => { | ||
driver = await setupDriver(); | ||
editorPage = new EditorPage( driver ); | ||
} ); | ||
|
||
it( 'should be able to see visual editor', async () => { | ||
await expect( editorPage.getBlockList() ).resolves.toBe( true ); | ||
} ); | ||
|
||
it( 'should be able to add a Latests-Posts block', async () => { | ||
await editorPage.addNewLatestPostsBlock(); | ||
const latestPostsBlock = await editorPage.getLatestPostsBlockAtPosition( 1 ); | ||
|
||
expect( latestPostsBlock ).toBeTruthy(); | ||
await editorPage.removeLatestPostsBlockAtPosition( 1 ); | ||
} ); | ||
|
||
afterAll( async () => { | ||
if ( ! isLocalEnvironment() ) { | ||
driver.sauceJobStatus( allPassed ); | ||
} | ||
await stopDriver( driver ); | ||
} ); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.