Mark test as pending

This commit is contained in:
Jesse C. Fisher 2021-07-24 04:53:54 -07:00
parent 501972870d
commit 92633e58ad

View File

@ -17,14 +17,15 @@ feature 'Sign Up', :devise do
# Scenario: Visitor joins a game and then signs up
# Given I am not signed in
# When I join a game and then sign up
# Then I should see myself in that game
scenario 'visitor joins a game and then signs up', js: true do
visit new_game_path
fill_in 'game_title', with: 'Test Game'
click_button 'Create Game'
# Then I should see my registered name
scenario 'visitor joins a game and then signs up' do
pending
visit new_table_path
fill_in 'table_title', with: 'Test Game'
click_button 'Create Table'
click_button 'Sit', match: :first
sign_up_with('test@example.com', 'please123', 'please123')
visit games_path
visit tables_path
click_link 'Test Game'
expect(page).to have_content('test@example.com')
end