diff --git a/cypress/e2e/hub/collections-detail.cy.ts b/cypress/e2e/hub/collections-detail.cy.ts index 76d6e12a97..6fe0bdac18 100644 --- a/cypress/e2e/hub/collections-detail.cy.ts +++ b/cypress/e2e/hub/collections-detail.cy.ts @@ -273,7 +273,6 @@ describe('Collections Details', () => { }); it('can show documentation tab for a collection', () => { cy.uploadCollection(collectionName, namespace.name, '1.0.0').then(() => { - cy.approveCollection(collectionName, namespace.name, '1.0.0'); visitCollection(collectionName, namespace.name); cy.intercept('GET', pulpAPI`/content/ansible/collection_versions/?namespace*`, { fixture: 'hubCollectionDocumentation.json', @@ -318,7 +317,6 @@ describe('Collections Details', () => { }); it('can show contents tab for a collection', () => { cy.uploadCollection(collectionName, namespace.name, '1.0.0').then(() => { - cy.approveCollection(collectionName, namespace.name, '1.0.0'); visitCollection(collectionName, namespace.name); cy.clickTab('Contents', true); cy.contains('No content available').should('exist'); diff --git a/cypress/fixtures/hubCollectionDocumentation.json b/cypress/fixtures/hubCollectionDocumentation.json index 2ab7ad5e77..aa13635abb 100644 --- a/cypress/fixtures/hubCollectionDocumentation.json +++ b/cypress/fixtures/hubCollectionDocumentation.json @@ -14,19 +14,10 @@ "sha384": "5fe23080451b7a4a46e3fc422be2f4c84059a960f7b9263c583881fc8707b6a058c0ee0f606b2335515339338260c05c", "sha512": "a444f16b641a84ab505dcfbb800d751e8f2345b33ef34b9fd969b703cbb43afadaebc5de9ae54c35bf931e2800a2b87ca436a0424154d72ff8c468f140a1f5bc", "id": "018d1d81-8f01-73c3-bb47-dbe499914a8c", -<<<<<<< HEAD "authors": ["Lauro Gomes "], "contents": [ { "name": "roles_description", -======= - "authors": [ - "Lauro Gomes " - ], - "contents": [ - { - "name": "roles", ->>>>>>> c088e98c... AAP-28882 : Add documentation tab test "description": null, "content_type": "role" }, @@ -74,25 +65,13 @@ { "name": "name", "required": true, -<<<<<<< HEAD "description": ["O nome para o qual exibir a saudação."] -======= - "description": [ - "O nome para o qual exibir a saudação." - ] ->>>>>>> c088e98c... AAP-28882 : Add documentation tab test } ], "filename": "/tmp/tmp2n2uf8tb/ansible_collections/laurobmb/hello/plugins/modules/hello_plugin.py", "collection": "laurobmb.hello", "has_action": false, -<<<<<<< HEAD "description": ["Este módulo exibe uma mensagem de saudação."], -======= - "description": [ - "Este módulo exibe uma mensagem de saudação." - ], ->>>>>>> c088e98c... AAP-28882 : Add documentation tab test "short_description": "Exemplo de módulo Ansible em Python" }, "return": null, @@ -118,17 +97,8 @@ "tags": [], "issues": "https://github.com/laurobmb/ansible_hello_collection/issues", "readme": "README.md", -<<<<<<< HEAD "authors": ["Lauro Gomes "], "license": ["GPL-2.0-or-later"], -======= - "authors": [ - "Lauro Gomes " - ], - "license": [ - "GPL-2.0-or-later" - ], ->>>>>>> c088e98c... AAP-28882 : Add documentation tab test "version": "1.0.5", "homepage": "https://github.com/laurobmb", "namespace": "laurobmb", @@ -259,13 +229,7 @@ "documentation": "https://github.com/laurobmb/ansible_hello_collection/docs/", "homepage": "https://github.com/laurobmb", "issues": "https://github.com/laurobmb/ansible_hello_collection/issues", -<<<<<<< HEAD "license": ["GPL-2.0-or-later"], -======= - "license": [ - "GPL-2.0-or-later" - ], ->>>>>>> c088e98c... AAP-28882 : Add documentation tab test "name": "hello", "namespace": "laurobmb", "origin_repository": "https://github.com/laurobmb/ansible_hello_collection",