Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spaceship] added Spaceship::ConnectAPI::SandboxTester #16742

Merged
merged 1 commit into from Jul 3, 2020

Conversation

joshdholtz
Copy link
Member

Motivation and Context

Fixes #16739
For @polok

Description

Added Spaceship::ConnectAPI::SandboxTester

Testing Steps

List and delete

lane :test_testers do
  require 'pp'
  require 'spaceship'

  Spaceship::Tunes.login(email)
  Spaceship::Tunes.select_team(team_name: team_name)

  testers = Spaceship::ConnectAPI::SandboxTester.all
  pp testers

  testers.each do |tester|
    if UI.confirm("Delete #{tester.email}?")
      tester.delete!
    end
  end
end

Create

lane :create_testers do
  require 'pp'
  require 'spaceship'

  Spaceship::Tunes.login(email)
  Spaceship::Tunes.select_team(team_name: team_name)

  tester = Spaceship::ConnectAPI::SandboxTester.create(
    first_name: "Test",
    last_name: "Three",
    email: "testThree@someemail.com",
    password: "Test0101",
    confirm_password: "Test0101",
    secret_question: "Question",
    secret_answer: "Answer",
    birth_date: "1980-03-01",
    app_store_territory: "USA"
  )
  pp tester
end

Copy link

@fastlane-bot fastlane-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations! 🎉 This was released as part of fastlane 2.150.2 🚀

minuscorp pushed a commit to minuscorp/fastlane that referenced this pull request Jul 18, 2020
@fastlane fastlane locked and limited conversation to collaborators Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants