Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 0 additions & 90 deletions test-cases/gutenberg/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,6 @@

--------------------------------------------------------------------------------

##### TC005

### Edit text styles

- Add `Buttons` block
- Type some characters
- Select your text
- Press icons responsible for changing text styles: `Bold`, `Italic`, `Strikethrough`
- Save the post
- Open a post e.g in preview mode
- Expect text style changes accordingly to selected options

--------------------------------------------------------------------------------

##### TC006

### Settings: Link URL
Expand Down Expand Up @@ -154,42 +140,6 @@

--------------------------------------------------------------------------------

##### TC012

### Render custom background color

- Open gutenberg web, add `Buttons` block
- Choose the **custom** background color from **picker**
- Save the post
- Open the same post on mobile app
- Expect `Button` background color is the same as on web

--------------------------------------------------------------------------------

##### TC013

### Render custom text color

- Open gutenberg web, add `Buttons` block
- Choose the **custom** text color from **picker**
- Save the post
- Open the same post on mobile app
- Expect `Button` text color is the same as on web

--------------------------------------------------------------------------------

##### TC014

### Render gradient background color

- Open gutenberg web, add `Buttons` block
- Choose the **gradient** background color from the palette
- Save the post
- Open the same post on mobile app
- Expect `Button` gradient background color is the same as on web

--------------------------------------------------------------------------------

##### TC015

### Render theme colors
Expand All @@ -202,21 +152,6 @@

--------------------------------------------------------------------------------

##### TC016

### Check if selection / caret color matches font color

- Open gutenberg web, add `Buttons` block
- Choose the **custom** text color from **picker**
- Save the post
- Open the same post on mobile app
- Observe caret / select text
- Expect `Button` caret / selection color to match the custom text color

**_Note:_** This may work if running on Android API 28+ do to restrctions that will be handled as part of [Issue #1787](https://github.com/wordpress-mobile/gutenberg-mobile/issues/1787)

--------------------------------------------------------------------------------

##### TC017

### The newly created button has set background color to the theme-default color in preview
Expand All @@ -228,18 +163,6 @@

--------------------------------------------------------------------------------

##### TC018

### Toolbar link button is active when Button has link

- Add `Buttons` block
- Open link [settings](../resources/button-link-settings.png)
- Edit `Button URL` field and add link
- Close bottom-sheet
- Expect toolbar link button is active

--------------------------------------------------------------------------------

##### TC019

### Button's wrapper grows properly
Expand All @@ -250,16 +173,3 @@
- Expect button's width grows properly (_horizontally_)

--------------------------------------------------------------------------------

##### TC020

### Link from the clipboard is presented as an option in the link picker

- Copy link into clipboard, e.g. `http://wordpress.com`
- Add `Buttons` block
- Open link [settings](../resources/button-link-settings.png)
- Edit the `Link to` field.
- Tap the `From clipboard` option.
- Expect link from the clipboard to be automatically added into the empty URL field

--------------------------------------------------------------------------------
13 changes: 0 additions & 13 deletions test-cases/gutenberg/spacer.md

This file was deleted.

Binary file removed test-cases/resources/button-link-settings.png
Binary file not shown.
18 changes: 1 addition & 17 deletions test-suites/gutenberg/sanity-test-suites.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ This holds a grouping of certain test suites to run in order to share the work w

- DarkMode 1
- Group 1
- Spacer 1
- Buttons 1-2-3
- Color Settings 1
- Image 1
Expand Down Expand Up @@ -215,8 +214,7 @@ This holds a grouping of certain test suites to run in order to share the work w

- DarkMode 2
- Group 2
- Spacer 1
- Buttons 4-5-7
- Buttons 4-5
- Editor Theme 2
- Color Settings 2

Expand All @@ -236,29 +234,15 @@ This holds a grouping of certain test suites to run in order to share the work w
- [ ] Group - Check if in DarkMode all components gets proper colors - [TC009](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/group.md#tc009)
- [ ] Group - Check if nested Placeholder block can be replaced - [TC014](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/group.md#tc010)

### Spacer - 1

- [ ] Spacer block - Spacer in horizontal layout works as expected - [TC001](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/spacer.md#tc001)

### Buttons - 4

- [ ] Buttons block - Render custom text color - [TC013](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc013)
- [ ] Buttons block - Render custom background color - [TC012](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc012)
- [ ] Buttons block - Render gradient background color - [TC014](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc014)
- [ ] Buttons block - Check if selection / caret color matches font color - [TC016](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc016)
- [ ] Buttons block - The newly created Buttons has set background color to the theme-default color in preview - [TC017](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc017)

### Buttons - 5

- [ ] Buttons block - Edit text styles - [TC005](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc005)
- [ ] Buttons block - Render theme colors - [TC015](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc015)
- [ ] Buttons block - Settings: Change Button border radius - [TC011](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc011)

### Buttons - 7

- [ ] Buttons block - Link from the clipboard is presented as an option in the link picker - [TC020](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc020)
- [ ] Buttons block - Toolbar link button is active when Button has link - [TC018](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/buttons.md#tc018)

### Editor Theme - 2
- [ ] Custom Gradients - Check that custom gradients load in the editor - [TC004](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/editor-theme.md#tc004)
- [ ] Offline Support - [TC005](https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/editor-theme.md#tc005)
Expand Down