Skip to content

Commit

Permalink
update test suites (#2231)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaBuvx authored Dec 18, 2024
1 parent 556e478 commit 3f3194a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/testing_site_onlyoffice/about/site_about_contacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def list_of_offices_on_page
end

def all_offices_present?
list_of_offices_on_page == ['Singapore', 'U.S.A.', 'Latvia', 'United Kingdom', 'Armenia', 'Singapore', 'Uzbekistan', 'Serbia', 'Contact us']
list_of_offices_on_page == ['Singapore', 'U.S.A.', 'Latvia', 'United Kingdom', 'Armenia', 'Singapore', 'Uzbekistan', 'Serbia', 'China', 'Contact us']
end
end
end
2 changes: 1 addition & 1 deletion lib/testing_site_onlyoffice/features/site_features_docs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class SiteProductsDocs
include PageObject
include SiteToolbar

link(:run_on_your_own_server, xpath: '//div[@class="dp_header"]//a[contains(@href, "download-docs.aspx")]')
link(:run_on_your_own_server, xpath: '//div[@class="dp_header"]//a[contains(@href, "download.aspx")]')

def initialize(instance)
super(instance.webdriver.driver)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

describe 'Sign Up for cloud' do
it 'Open Stripe page from /docs-registration.aspx and check the e-mail' do
pending('https://bugzilla.onlyoffice.com/show_bug.cgi?id=43150') if config.server.include?('.com')
skip('https://bugzilla.onlyoffice.com/show_bug.cgi?id=43150') if config.server.include?('.com')
payment_page = @doc_sign_up_page.submit_correct_data(registration_data)
expect(payment_page).to be_a TestingSiteOnlyoffice::StripePaymentPage
expect(partner_email.check_email_by_subject({ subject: "#{registration_data.full_name} - Docs Registration Request [from: docs-registration]" }, 300, true)).to be true
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 @@ -23,7 +23,7 @@
end

it "Open Stripe page in #{current_language} language from /docs-registration.aspx" do
pending('https://bugzilla.onlyoffice.com/show_bug.cgi?id=43150') if config.server.include?('.com')
skip('https://bugzilla.onlyoffice.com/show_bug.cgi?id=43150') if config.server.include?('.com')
payment_page = @doc_sign_up_page.submit_correct_data(registration_data)
expect(payment_page).to be_a TestingSiteOnlyoffice::StripePaymentPage
end
Expand Down

0 comments on commit 3f3194a

Please sign in to comment.