Skip to main content

Clone Test Suites

The following mutation clones a test suite, by creating a new one with the same settings and tests:

Operation: mutation CloneTestSuite($testSuiteId: ObjectID!) { cloneTestSuite(input: { testSuiteId: $testSuiteId }) { testSuite { id } } }
CloneTestSuiteTry in Explorer
GraphQL
mutation CloneTestSuite($testSuiteId: ObjectID!) {
cloneTestSuite(input: { testSuiteId: $testSuiteId }) {
testSuite {
id
}
}
}

All settings and tests will be cloned into a new test suite with the name: '{CURRENT_TIMESTAMP} Copy of {TEST_SUITE_NAME}'.

caution

File uploads won't be copied into a new test suite.