revert: release rdbms to production (#45347)
This commit is contained in:
@ -17,8 +17,7 @@ const certifications = [
|
||||
'Data Analysis with Python',
|
||||
'Information Security',
|
||||
'Machine Learning with Python',
|
||||
'Responsive Web Design (Beta)',
|
||||
'Relational Database (Beta)'
|
||||
'Responsive Web Design (Beta)'
|
||||
];
|
||||
|
||||
describe('Landing page', () => {
|
||||
|
@ -1,35 +0,0 @@
|
||||
describe('CodeAlly cert challenge', function () {
|
||||
describe('before completing the project', function () {
|
||||
before(() => {
|
||||
cy.exec('npm run seed');
|
||||
cy.login();
|
||||
cy.visit(
|
||||
'/learn/relational-database/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database'
|
||||
);
|
||||
});
|
||||
|
||||
it('should not allow you to submit a URL', function () {
|
||||
cy.get('input[name="solution"]')
|
||||
.type('https://example.com')
|
||||
.type('{enter}');
|
||||
cy.contains('You must complete the project first.');
|
||||
});
|
||||
});
|
||||
|
||||
describe('after completing the project', function () {
|
||||
before(() => {
|
||||
cy.exec('npm run seed:certified-user');
|
||||
cy.login();
|
||||
cy.visit(
|
||||
'/learn/relational-database/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database'
|
||||
);
|
||||
});
|
||||
|
||||
it('should allow you to submit a URL', function () {
|
||||
cy.get('input[name="solution"]')
|
||||
.type('https://example.com')
|
||||
.type('{enter}');
|
||||
cy.get('.completion-modal-body').should('exist');
|
||||
});
|
||||
});
|
||||
});
|
@ -1,58 +0,0 @@
|
||||
describe('Webhook token component', function () {
|
||||
describe('while signed out', function () {
|
||||
describe('on CodeAlly project page', function () {
|
||||
before(() => {
|
||||
cy.exec('npm run seed');
|
||||
cy.visit(
|
||||
'/learn/relational-database/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database'
|
||||
);
|
||||
});
|
||||
|
||||
it('should not render', function () {
|
||||
cy.get('[data-cy=webhook-challenge-page]').should('not.exist');
|
||||
cy.get('.webhook-token').should('not.exist');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('while signed in', function () {
|
||||
describe('on CodeAlly project page', function () {
|
||||
beforeEach(() => {
|
||||
cy.exec('npm run seed');
|
||||
cy.login();
|
||||
cy.visit(
|
||||
'/learn/relational-database/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database'
|
||||
);
|
||||
});
|
||||
|
||||
it('should render', function () {
|
||||
cy.get('[data-cy=webhook-challenge-page]').should('exist');
|
||||
});
|
||||
|
||||
it('should allow you to create a token', function () {
|
||||
cy.contains('Create a new token').click();
|
||||
cy.contains('You have successfully created a new token.');
|
||||
});
|
||||
});
|
||||
|
||||
describe('on settings page', function () {
|
||||
beforeEach(() => {
|
||||
cy.exec('npm run seed');
|
||||
cy.login();
|
||||
cy.visit('/settings');
|
||||
});
|
||||
|
||||
it('should render', function () {
|
||||
cy.get('[data-cy=webhook-settings-page]').should('exist');
|
||||
});
|
||||
|
||||
it('should allow you to create and delete a token', function () {
|
||||
cy.contains('Create a new token').click();
|
||||
cy.contains('You have successfully created a new token.');
|
||||
cy.contains('Delete my token').click();
|
||||
cy.contains('Yes please, I would like to delete my token').click();
|
||||
cy.contains('Your token has been deleted');
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
@ -11,6 +11,7 @@ const superBlockNames = [
|
||||
'JavaScript Algorithms and Data Structures Certification',
|
||||
'Front End Development Libraries Certification',
|
||||
'Data Visualization Certification',
|
||||
'Relational Database Certification',
|
||||
'Back End Development and APIs Certification',
|
||||
'Quality Assurance Certification',
|
||||
'Scientific Computing with Python Certification',
|
||||
@ -18,8 +19,7 @@ const superBlockNames = [
|
||||
'Information Security Certification',
|
||||
'Machine Learning with Python Certification',
|
||||
'Coding Interview Prep (Thousands of hours of challenges)',
|
||||
'Responsive Web Design (Beta) Certification',
|
||||
'Relational Database (Beta) Certification'
|
||||
'Responsive Web Design (Beta) Certification'
|
||||
];
|
||||
|
||||
describe('Learn Landing page (not logged in)', () => {
|
||||
|
Reference in New Issue
Block a user