Spec failure in spec/features/groups/import_export/import_file_spec.rb
| Import/Export - Group Import when the user uploads an invalid export file displays an error
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Job #1720920062 failed for edf6df27:
Trace
Failures:
1) Import/Export - Group Import when the user uploads an invalid export file displays an error
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page).to have_content('Unable to process group import file')
expected to find text "Unable to process group import file" in ""
# ./spec/features/groups/import_export/import_file_spec.rb:100:in `block (4 levels) in <top (required)>'
# ./spec/features/groups/import_export/import_file_spec.rb:99:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
http://127.0.0.1:43375/groups/new#import-group-pane - Autofocus processing was blocked because a document's URL has a fragment '#import-group-pane'.
http://127.0.0.1:43375/groups/new#import-group-pane - Autofocus processing was blocked because a document's URL has a fragment '#import-group-pane'.
# ./spec/support/capybara.rb:198:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
import_export_-_group_import_when_the_user_uploads_an_invalid_export_file_displays_an_error.html
Edited by 🤖 GitLab Bot 🤖