Skip to content

Commit f507a08

Browse files
Tweak Blueprint test string to match WP 6.8 (#117)
## Motivation for the change, related issues A string in WP 6.8 changed from "Edit site" to "Edit Site" and broke a unit test that depended on case-sensitive comparison. This PR fixes the test. ## Implementation details This PR simply changes the letter case in the unit test to accommodate that. ## Testing Instructions (or ideally a Blueprint) - CI
1 parent 43ab6fd commit f507a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playground/blueprints/src/lib/steps/login.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('Blueprint step login', () => {
4242
url: '/',
4343
});
4444
expect(response.httpStatusCode).toBe(200);
45-
expect(response.text).toContain('Edit site');
45+
expect(response.text).toContain('Edit Site');
4646
});
4747

4848
it('should log the user into wp-admin', async () => {

0 commit comments

Comments
 (0)