Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create initial admin from UI #103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

create initial admin from UI #103

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 20, 2021

Helps with #94

@weex
Copy link
Member

weex commented Jan 4, 2022

Re-running checks. @tms-phillips Was there something else left for you to do on this?

@Mansh05
Copy link

Mansh05 commented Jan 4, 2022

Checked some cucumber test cases and looks it its failing as admin is not saved correctly. Let me try and fix it, Maybe we might have to transfer this to a rake task to perform it while setting up.

@weex
Copy link
Member

weex commented Jan 5, 2022

The logs have a lot of "Unexpected inner loop exception" noise so here's one with all of those lines stripped.
3_test (2.6, postgresql, cucumber)-cleaned.txt

@weex
Copy link
Member

weex commented Jan 5, 2022

And here's the important part of that log:

2022-01-04T00:41:24.2484018Z   Scenario: send and delete a mobile message                                                           # features/mobile/  conversations.feature:13
2022-01-04T00:41:25.1440816Z     Given I send a mobile message with subject "Greetings" and text "hello, alice!" to "Alice Awesome" # features/         step_definitions/conversations_steps.rb:53
2022-01-04T00:41:55.1416850Z     Then I should see "Greetings" within ".conversation h3"                                            # features/         step_definitions/web_steps.rb:102
2022-01-04T00:41:55.1419855Z       Unable to find css ".conversation h3" (Capybara::ElementNotFound)
2022-01-04T00:41:55.1421634Z       ./features/step_definitions/web_steps.rb:14:in `with_scope'
2022-01-04T00:41:55.1423052Z       ./features/step_definitions/web_steps.rb:104:in `block (2 levels) in <top (required)>'
2022-01-04T00:41:55.1424330Z       ./features/step_definitions/web_steps.rb:103:in `each'
2022-01-04T00:41:55.1425671Z       ./features/step_definitions/web_steps.rb:103:in `/^(?:|I )should see (\".+?\"[\s]*)(?:[\s]+within[\s]* "([^"]*)")?$/'2022-01-04T00:41:55.1427174Z       features/mobile/conversations.feature:15:in `I should see "Greetings" within ".conversation h3"'
2022-01-04T00:41:55.1428607Z     And "Alice Awesome" should be part of active conversation                                          # features/         step_definitions/conversations_steps.rb:3
2022-01-04T00:41:55.1430456Z     And I should see "hello, alice!" within ".stream-element"                                          # features/         step_definitions/web_steps.rb:102    
2022-01-04T00:41:55.1431839Z     When I sign in as "[email protected]" on the mobile website                                        # features/         step_definitions/session_steps.rb:20 
2022-01-04T00:41:55.1433138Z     And I reply with "hey, how you doing?"                                                             # features/         step_definitions/conversations_steps.rb:39 
2022-01-04T00:41:55.1434445Z     And I press the first ".ltr" within ".conversation"                                                # features/         step_definitions/custom_web_steps.rb:125 
2022-01-04T00:41:55.1435653Z     Then I should see "hey, how you doing?"                                                            # features/         step_definitions/web_steps.rb:102    
2022-01-04T00:41:55.1436892Z     When I confirm the alert after I click on selector "a.remove"                                      # features/         step_definitions/custom_web_steps.rb:87
2022-01-04T00:41:55.1438124Z     Then I should not see "hey, how you doing"                                                         # features/         step_definitions/web_steps.rb:117    

@tms-phillips Do you know of any change that would create that missing css error?

@weex
Copy link
Member

weex commented Jan 5, 2022

Re-ran CI on the latest main to see if it was something external but that passed again, so it seems to be something in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants