I would like to create a Behat test that confirms a user can only see content they own or are referenced in. The struggle is that I can't figure out how to assign the content to created user.
Starting with something like:
Given users: | name | status | | test | 1 | Given "Page" content: | title | uid | | A title | ?? |
I need to create several nodes to test, and it seems...odd... that I would need to do the entire steps (e.g. Then I go to register, then I go to node/add/page, ....).
How do I know the uid of the user created in the