Skip to content

Commit

Permalink
update page opening (#2280)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaBuvx authored Jan 17, 2025
1 parent d3b6e72 commit d39026d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

describe 'open download page from top toolbar' do
let(:document_builder_download_page) do
@site_home_page.click_link_on_toolbar(:get_onlyoffice_document_builder)
@site_home_page.open_download_docbuilder_page
end

TestingSiteOnlyoffice::SiteDownloadData.document_builder_list.each do |installer|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
describe 'Get Onlyoffice - Docs Community Bundles' do
before do
site_home_page, @test = TestingSiteOnlyoffice::SiteHelper.new.open_page_teamlab_office(config)
@docs_community_bundles_page = site_home_page.click_link_on_toolbar(:get_onlyoffice_docs_community)
@docs_community_bundles_page = site_home_page.open_community_download_page
end

after do |example|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
describe 'Onlyoffice Docs Community edition download' do
before do
site_home_page, @test = TestingSiteOnlyoffice::SiteHelper.new.open_page_teamlab_office(config)
@docs_community_page = site_home_page.click_link_on_toolbar(:get_onlyoffice_docs_community)
@docs_community_page = site_home_page.open_community_download_page
end

after do |example|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
describe 'Commercial packages workspace download' do
before do
site_home_page, @test = TestingSiteOnlyoffice::SiteHelper.new.open_page_teamlab_office(config)
@workspace_enterprise_page = site_home_page.click_link_on_toolbar(:get_onlyoffice_workspace_on_premises)
@workspace_enterprise_page = site_home_page.open_download_workspace_enterprise_page
end

it_behaves_like 'commercial_installer_download', 'Workspace_Enterprise',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
describe 'Workspace sign in' do
before do
@site_home_page, @test = TestingSiteOnlyoffice::SiteHelper.new.open_page_teamlab_office(config)
@workspace_sign_in_page = @site_home_page.click_login_workspace_cloud
@workspace_sign_in_page = @site_home_page.open_workspace_sign_in_page
end

after do |example|
Expand Down
2 changes: 1 addition & 1 deletion spec/functional/smoke/smoke_docs_open_stripe_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
describe "Open registration page #{current_language}" do
before do
@site_home_page.set_page_language(current_language)
@doc_sign_up_page = @site_home_page.click_link_on_toolbar(:get_onlyoffice_docs_registration)
@doc_sign_up_page = @site_home_page.click_link_on_toolbar(:site_get_onlyoffice_docspace_sign_up)
end

it "Open Stripe page in #{current_language} language from /docs-registration.aspx" do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
end

it "Open Sign Up page from Sign In page in #{current_language} language" do
sign_in_page = @site_home_page.click_link_on_toolbar(:get_onlyoffice_docspace_sign_in)
sign_in_page = @site_home_page.click_link_on_toolbar(:site_get_onlyoffice_docspace_sign_up)
sign_up_page = sign_in_page.register_from_sign_in
expect(sign_up_page).to be_a TestingSiteOnlyoffice::SiteDocSpaceSignUp
end
Expand Down

0 comments on commit d39026d

Please sign in to comment.