mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Wait for category to be created
This commit is contained in:
parent
7ce40b3b37
commit
6d635bac1d
@ -196,8 +196,8 @@ Given("we have the following comments in our database:", table => {
|
||||
})
|
||||
});
|
||||
|
||||
Given("we have the following posts in our database:", table => {
|
||||
cy.factory().build('category', {
|
||||
Given("we have the following posts in our database:", async table => {
|
||||
await cy.factory().build('category', {
|
||||
id: `cat-456`,
|
||||
name: "Just For Fun",
|
||||
slug: `just-for-fun`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user