- Add
Buttons
block - Expect to see focused
Button
insideButtons
block - Expect gray background color and white text
- Add
Buttons
block - Press an inline appender
- Expect a new
Button
is added and focused - Open the
Button
block settings and remove the block - Expect current
Button
is removed and the previousButton
is focused - Press an inline appender
- Expect a new
Button
is added and focused - Type something
- Delete all of the text from Button
- Expect current
Button
is removed and the previousButton
is focused
- Add
Buttons
block - Press an inline appender
- Expect a new
Button
is added and focused - Select the first
Button
- Type some characters to fill
Button
width - Expect the second
Button
to fall into the second row
- Add
Buttons
block - Press inline appender
- Expect a new
Button
is added and focused - Navigate up to select
Buttons
- Use alignment options
- Expect:
- Buttons adhere to the left edge when the first option is selected
- Buttons are centred when the second option is selected
- Buttons adhere to the right edge when the third option is selected
- 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
- Add
Buttons
block - Open link settings
- Edit
Link to
field and add link - Save the post
- Open a post e.g. in preview mode
- Expect Button is redirecting to the added link
- Add
Buttons
block - Open link settings
- Edit
Link to
field and add link - Switch on
Open in new tab
- Expect
noreferrer noopener
is added automatically inLink Rel
field - Save the post
- Open a post e.g. in preview mode
- Expect Button is opening a link in new tab
- Add
Buttons
block - Open link settings
- Edit
Link to
field and add link - Edit
Link Rel
field and add link rel e.gnoreferrer
- Open link settings again
- Expect link rel is saved
- Add
Buttons
block - Open link settings
- Edit
Link to
field and add link - Switch on
Open in new tab
- Edit
Link Rel
field and add rel - Open button options
- Expect fields
Link to
,Open in new tab
,Link Rel
to have the same content as in link settings
- Add
Buttons
block - Open link settings
- Edit
Link to
field and add link - Switch on
Open in new tab
- Edit
Link Rel
field and add rel - Press
Remove link
button - Open link settings again
- Expect default settings
- Add
Buttons
block - Open button options
- Edit
Border Radius
by tapping the +/- buttons - Expect Button border radius changed accordingly to the value
- Edit
Border Radius
typing border radius value in input - Expect Button border radius changed accordingly to the value
- 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
- 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
- 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
- Open gutenberg web, add
Buttons
block - Choose a theme color from the *palette (among the predefined ones)
- Save the post
- Open the same post on mobile app
- Expect
Button
with selected background color and selected 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
- 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
- Add
Buttons
block - Save the post
- Open a post e.g in preview mode
- Expect
Button
with background color consistent with theme-default color
- Add
Buttons
block - Open link settings
- Edit
Link to
field and add link - Close bottom-sheet
- Expect toolbar link button is active
- Add
Buttons
block - Add next button using inline appender or inserter
- Select the first one and type some characters
- Expect button's width grows properly (horizontally)