You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ef457fd
Browse filesBrowse the repository at this point in the historyBrowse files
Walk the Gutenberg card through its own words, and test main's strings in the pseudo-locale
The Gutenberg journey had no issue linked, so it never showed the form,
the fold or the loop-back. It now links one in the record and walks
signed out, signed in with the fold open, and the opened pull request.
Unit tests pin the stage labels, the scope refusal, a composed GitHub
failure and the plural stale message in the pseudo-locale.
awaitexpect(card.getByText(pseudoLocalize('No issue is linked to this site. A pull request has to cite one: link it in the GitHub issue card.'),{exact: true})).toBeVisible();
awaitexpect(card.getByText(pseudoLocalize('How pull requests work in Gutenberg'),{exact: true})).toBeVisible();
676
+
awaitexpect(card.getByText(pseudoLocalize('Goes at the top of the description. The Fixes line that links the issue and your WordPress.org username are added underneath.'),{exact: true})).toBeVisible();
677
+
expect(awaitinCard()).toEqual([]);
678
+
679
+
// The pull request it opened, and the line back to the issue.
680
+
awaitbutton('Open pull request').click();
681
+
awaitexpect(card.getByText(pseudoLocalize('The Fixes line already lists it on the issue. A comment there still tells the people watching it.'),{exact: true})).toBeVisible();
assert.strictEqual(stale.error,pseudoLocalize('Trunk has moved under files you edited (%s). Update this site to the latest trunk, check your changes still apply, and try again.').replace('%s','a.php, b.php'));
0 commit comments