Skip to content

Commit

Permalink
Merge pull request #1837 from 4dn-dcic/homepage_twitter_container
Browse files Browse the repository at this point in the history
  • Loading branch information
utku-ozturk authored Aug 21, 2023
2 parents cf4db7f + b6b679d commit fac097b
Show file tree
Hide file tree
Showing 6 changed files with 1,397 additions and 5,632 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ fourfront
Change Log
----------

6.2.1
=====

`Home page updates <https://github.com/4dn-dcic/fourfront/pull/1837>`_

* Twitter timeline embeds are not working. Until it is available again, we are replacing the section with the 4DN article published on Nature Communications.


6.2.0
=====

Expand Down
8 changes: 4 additions & 4 deletions deploy/post_deploy_testing/cypress/e2e/00_homepage.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ describe('Home Page', function () {


it('Has recently released datasets has 2+ rows', function () {
cy.get('.recently-released-datasets-section .search-results-container')
cy.get('.datasets-and-social-connections-col-datasets .search-results-container')
.find('.search-result-row div.search-result-column-block[data-col="dataset"]').should('have.length.of.at.least', 2);
});

it('Recently released dataset\'s exp. set count and browse page\'s result count matches', function () {
cy.get('.recently-released-datasets-section .search-results-container')
cy.get('.datasets-and-social-connections-col-datasets .search-results-container')
.find('.search-result-row div.search-result-column-block[data-col="expset_count"]').then(function ($colExpSetCount) {
const links = [];

Expand Down Expand Up @@ -52,7 +52,7 @@ describe('Home Page', function () {

cy.visit('/').end();

cy.get('.recently-released-datasets-section .search-results-container')
cy.get('.datasets-and-social-connections-col-datasets .search-results-container')
.find('.search-result-row div.search-result-column-block[data-col="lab"] a').then(function ($labs) {
const links = [];

Expand All @@ -75,7 +75,7 @@ describe('Home Page', function () {
});
});

it('Has Twitter feed w. 5+ tweets', function() {
it.skip('Has Twitter feed w. 5+ tweets', function() {
cy.visit('/').end();
// https://github.com/cypress-io/cypress/issues/136
cy.get('.home-content-area div.twitter-timeline-container iframe#twitter-widget-0')
Expand Down
Loading

0 comments on commit fac097b

Please sign in to comment.