Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Update add domain to existing site to register (and cancel) .live domain #830

Open
alisterscott opened this issue Dec 1, 2017 · 7 comments
Assignees

Comments

@alisterscott
Copy link
Contributor

We can use the sandbox method for adding a fake .live domain to an existing site and purchase it then refund and cancel it.

@alisterscott
Copy link
Contributor Author

One thing we need to consider in adding a domain to a common account is the cart is shared across sessions, so concurrent tests running adding domains to same user share the cart and will potentially pay for not only their own domains - this could get really messy

@Stojdza
Copy link
Contributor

Stojdza commented Jul 23, 2018

@alisterscott We can do this with a non-default user, to make one for this case?

@alisterscott
Copy link
Contributor Author

We can do this with a non-default user, to make one for this case?

I think that would be best - I don't think there's a limit of how many domains we can register against an existing site - we'll soon see anyway.

We need to make sure sandbox mode is set for purchasing the .live domains

@Stojdza Stojdza self-assigned this Aug 3, 2018
@Stojdza
Copy link
Contributor

Stojdza commented Aug 3, 2018

@alisterscott what do you think about this scenario:

  1. We have existing user and existing <domain_name>.wordpress.com domain
  2. Choose 'Add' domain
  3. Search and select .live domain (we should search something like <domain_name>+timestamp, to be sure that every time domain is unique)
  4. Purchase domain
  5. Refund and cancel

Is wp-manage-domains-spec.js right place to put this test in?

@alisterscott
Copy link
Contributor Author

what do you think about this scenario:

sounds good

Is wp-manage-domains-spec.js right place to put this test in?

Yes

Thank you

@Stojdza
Copy link
Contributor

Stojdza commented Aug 23, 2018

@alisterscott Do you maybe know, is sandboxCookieValue somehow related to the specific user?

When I'm using it with the user who is dedicated for this test I cannot open Purchases page - it loads endlessly. When I try that with our default user, Purchases page loads after some time.

@alisterscott
Copy link
Contributor Author

Do you maybe know, is sandboxCookieValue somehow related to the specific user?

I don't think so, but setting the cookie will use the store sandbox which means only sandboxed purchases will display, maybe there is an issue there with some of the sandbox store purchases

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

No branches or pull requests

2 participants