|
@@ -57,7 +57,7 @@ function renderMockRequests({
|
|
|
|
|
|
describe('Onboarding Setup Docs', function () {
|
|
|
it('does not render Product Selection', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
projects: [
|
|
|
{
|
|
|
...initializeOrg().project,
|
|
@@ -79,7 +79,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -105,7 +105,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
});
|
|
|
|
|
|
it('renders SDK version from the sentry release registry', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
projects: [
|
|
|
{
|
|
|
...initializeOrg().project,
|
|
@@ -127,7 +127,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -148,7 +148,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
|
|
|
describe('renders Product Selection', function () {
|
|
|
it('all products checked', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
router: {
|
|
|
location: {
|
|
|
query: {
|
|
@@ -183,7 +183,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -207,7 +207,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
});
|
|
|
|
|
|
it('only performance checked', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
router: {
|
|
|
location: {
|
|
|
query: {product: [ProductSolution.PERFORMANCE_MONITORING]},
|
|
@@ -237,7 +237,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -257,7 +257,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
});
|
|
|
|
|
|
it('only session replay checked', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
router: {
|
|
|
location: {
|
|
|
query: {product: [ProductSolution.SESSION_REPLAY]},
|
|
@@ -287,7 +287,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -307,7 +307,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
});
|
|
|
|
|
|
it('only error monitoring checked', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
router: {
|
|
|
location: {
|
|
|
query: {product: []},
|
|
@@ -337,7 +337,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -361,7 +361,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
|
|
|
describe('JS Loader Script', function () {
|
|
|
it('renders Loader Script setup', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
router: {
|
|
|
location: {
|
|
|
query: {
|
|
@@ -402,7 +402,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -448,7 +448,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|
|
@@ -479,7 +479,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
|
|
|
describe('special platforms', () => {
|
|
|
it('renders platform other', async function () {
|
|
|
- const {router, route, organization, project} = initializeOrg({
|
|
|
+ const {router, organization, project} = initializeOrg({
|
|
|
projects: [
|
|
|
{
|
|
|
...initializeOrg().project,
|
|
@@ -501,7 +501,7 @@ describe('Onboarding Setup Docs', function () {
|
|
|
onComplete={() => {}}
|
|
|
stepIndex={2}
|
|
|
router={router}
|
|
|
- route={route}
|
|
|
+ route={{}}
|
|
|
location={router.location}
|
|
|
genSkipOnboardingLink={() => ''}
|
|
|
orgId={organization.slug}
|