-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 1 fix specs: product_creation_spec.rb and product_groups_spec.rb
- Loading branch information
1 parent
f05fa5f
commit 9ad2c9a
Showing
27 changed files
with
1,381 additions
and
800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
# frozen_string_literal: true | ||
|
||
# Упорядоченный рекваир. Небходимо сначала подключать неймспейсы, иначе будут ошибки при инициализации. | ||
gem_directory = Gem::Specification.find_by_name("apress-selenium_eti").gem_dir | ||
Dir["#{gem_directory}/lib/pages/**/*.rb"].each { |file| require file } | ||
|
||
# ЕТИ | ||
require "#{gem_directory}/lib/pages/company_site/eti/eti" | ||
require "#{gem_directory}/lib/pages/company_site/eti/table" | ||
require "#{gem_directory}/lib/pages/company_site/eti/action_panel" | ||
require "#{gem_directory}/lib/pages/company_site/eti/header" | ||
require "#{gem_directory}/lib/pages/company_site/eti/table_products" | ||
require "#{gem_directory}/lib/pages/company_site/eti/table_status_bar" | ||
require "#{gem_directory}/lib/pages/company_site/eti/navigation_column" | ||
|
||
# Попапы | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/description_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/groups_binding_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/images_upload_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/price_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/public_state_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/rubrics_binding_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/traits_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/wholesale_price_popup" | ||
require "#{gem_directory}/lib/pages/company_site/eti/popups/exists_popup" | ||
|
||
# Мини-ЕТИ. | ||
require "#{gem_directory}/lib/pages/company_site/mini_eti/mini_eti" | ||
require "#{gem_directory}/lib/pages/company_site/mini_eti/pagination" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.