Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: akiran/react-slick
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.27.9
Choose a base ref
...
head repository: akiran/react-slick
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Aug 16, 2020

  1. Merge pull request #1873 from akiran/0.27.9

    0.27.9
    akiran authored Aug 16, 2020
    Copy the full SHA
    13abc56 View commit details
  2. release 0.27.9

    akiran committed Aug 16, 2020
    Copy the full SHA
    a43f109 View commit details

Commits on Aug 20, 2020

  1. Copy the full SHA
    9e6235c View commit details
  2. Merge pull request #1876 from akiran/keys-aug20

    focus the slide selected in focusOnSelect mode
    akiran authored Aug 20, 2020
    Copy the full SHA
    775d83b View commit details
  3. release 0.27.10

    akiran committed Aug 20, 2020
    Copy the full SHA
    313dac7 View commit details

Commits on Sep 5, 2020

  1. Fixes #1881

    kiran authored and kiran committed Sep 5, 2020
    Copy the full SHA
    d1fb6bb View commit details
  2. remove console.log

    kiran authored and kiran committed Sep 5, 2020
    Copy the full SHA
    9f3a9b9 View commit details

Commits on Sep 6, 2020

  1. Copy the full SHA
    3449f51 View commit details

Commits on Oct 8, 2020

  1. release 0.27.11

    akiran committed Oct 8, 2020
    Copy the full SHA
    1fe63ad View commit details

Commits on Oct 9, 2020

  1. remove alert from readme

    Kiran authored and Kiran committed Oct 9, 2020
    Copy the full SHA
    9779b3e View commit details
  2. converted class to function component in readme

    akiran authored and akiran committed Oct 9, 2020
    Copy the full SHA
    659e9a4 View commit details

Commits on Oct 19, 2020

  1. typo

    DeronW authored Oct 19, 2020
    Copy the full SHA
    4b85985 View commit details

Commits on Oct 21, 2020

  1. Merge pull request #1912 from DeronW/patch-1

    typo
    akiran authored Oct 21, 2020
    Copy the full SHA
    5418853 View commit details

Commits on Oct 31, 2020

  1. release 0.27.12

    akiran committed Oct 31, 2020
    Copy the full SHA
    cc0f0de View commit details

Commits on Nov 2, 2020

  1. Fix #1918

    akiran authored Nov 2, 2020
    Copy the full SHA
    4ca610d View commit details
  2. Update package.json

    akiran authored Nov 2, 2020
    Copy the full SHA
    e10743b View commit details
  3. Copy the full SHA
    32d1e3e View commit details

Commits on Nov 6, 2020

  1. release 0.27.13

    akiran committed Nov 6, 2020
    Copy the full SHA
    de674c0 View commit details

Commits on Jan 10, 2021

  1. Copy the full SHA
    4c1f1dd View commit details
  2. Merge pull request #1962 from SarahAlAshwal/afterChangeTest

    fix the afterChange-test
    akiran authored Jan 10, 2021
    Copy the full SHA
    90002b9 View commit details

Commits on Jan 11, 2021

  1. Copy the full SHA
    61198cf View commit details
  2. Merge pull request #1963 from akiran/fix-1830

    fixed #1830
    akiran authored Jan 11, 2021
    Copy the full SHA
    1e511ea View commit details
  3. release 0.27.14

    akiran committed Jan 11, 2021
    Copy the full SHA
    9c26b25 View commit details

Commits on Jan 13, 2021

  1. fixed #1958

    akiran committed Jan 13, 2021
    Copy the full SHA
    c2b148b View commit details

Commits on Jan 20, 2021

  1. Need to enforce images list validation

    In some cases, for instance while running some tests via storyshot, we can get a blocker with this error message:
    
    `Error: Uncaught [TypeError: Cannot read property 'querySelectorAll' of undefined]`
    
    Adding `this.list &&` at the beginning of this test will avoid such of issues and let pass well the tests
    
    I would really appreciate that fix to be able to move forward from `0.25.2` of react-slick to the latest version
    
    Thanks
    lipoolock authored Jan 20, 2021
    Copy the full SHA
    2c2fe37 View commit details

Commits on Jan 24, 2021

  1. Removed preventDefault statements from handlers of passive events: on…

    …TouchMove, onTouchStart
    MertTurel committed Jan 24, 2021
    Copy the full SHA
    cc5341f View commit details
  2. Merge pull request #1967 from lipoolock/patch-1

    Need to enforce images list validation
    akiran authored Jan 24, 2021
    Copy the full SHA
    cbf2cf5 View commit details
  3. Revert "Removed preventDefault statements from handlers of passive ev…

    …ents: onTouchMove, onTouchStart"
    
    This reverts commit cc5341f.
    MertTurel committed Jan 24, 2021
    Copy the full SHA
    6e121d2 View commit details
  4. Noticed functional side effects after removing preventDefault methods…

    … in last commit. Implemented new method.
    MertTurel committed Jan 24, 2021
    Copy the full SHA
    f373992 View commit details
  5. Copy the full SHA
    89c36c7 View commit details

Commits on Jan 25, 2021

  1. Merge pull request #1971 from turelmert/fix-1650

    fix-1650
    akiran authored Jan 25, 2021
    Copy the full SHA
    946cb7c View commit details
  2. release @0.28.0

    akiran committed Jan 25, 2021
    Copy the full SHA
    364186b View commit details

Commits on Feb 6, 2021

  1. Upgrade AdaptiveHeight to functional component

    The class component was updated by a functional component.
    var was changed to const
    Vogric authored Feb 6, 2021
    Copy the full SHA
    181476d View commit details

Commits on Mar 3, 2021

  1. Copy the full SHA
    756afc6 View commit details

Commits on Mar 8, 2021

  1. Merge pull request #1999 from alziqziq/feature/disable-vertical-bounce

    Support disable bounce for vertical mode
    akiran authored Mar 8, 2021
    Copy the full SHA
    ccc866b View commit details
  2. released 0.28.1

    akiran committed Mar 8, 2021
    Copy the full SHA
    5fb7ac7 View commit details

Commits on Sep 17, 2021

  1. Update FUNDING.yml

    akiran authored Sep 17, 2021
    Copy the full SHA
    994ce1c View commit details

Commits on Dec 11, 2021

  1. removed sass

    akiran committed Dec 11, 2021
    Copy the full SHA
    06a607f View commit details
  2. Copy the full SHA
    c923c95 View commit details

Commits on Apr 12, 2022

  1. Copy the full SHA
    fd9de1a View commit details

Commits on Apr 17, 2022

  1. add support for React18

    jeffascript committed Apr 17, 2022
    Copy the full SHA
    9eb7df7 View commit details
  2. Merge pull request #2151 from jeffascript/react18

    Support React 18
    akiran authored Apr 17, 2022
    Copy the full SHA
    12e1fea View commit details
  3. released 0.29.0

    akiran committed Apr 17, 2022
    Copy the full SHA
    c3e1684 View commit details

Commits on Jul 21, 2022

  1. Merge pull request #2149 from PaoloPia/fixImageClick

    Fixed issue with image click event
    akiran authored Jul 21, 2022
    Copy the full SHA
    2a21315 View commit details

Commits on Jul 23, 2022

  1. Merge pull request #1981 from Vogric/patch-1

    Upgrade AdaptiveHeight to functional component
    akiran authored Jul 23, 2022
    Copy the full SHA
    9fa8781 View commit details

Commits on Jul 26, 2022

  1. remove old tests

    akiran committed Jul 26, 2022
    Copy the full SHA
    2f7fdf5 View commit details
  2. Copy the full SHA
    472c848 View commit details
  3. Copy the full SHA
    4e6250b View commit details

Commits on Aug 21, 2022

  1. Update README.md

    akiran authored Aug 21, 2022
    Copy the full SHA
    19b770e View commit details
  2. Update README.md

    akiran authored Aug 21, 2022
    Copy the full SHA
    b9302d6 View commit details
Showing with 2,784 additions and 5,257 deletions.
  1. +9 −5 .eslintrc
  2. +1 −0 .github/FUNDING.yml
  3. +5 −0 .gitignore
  4. +1 −0 .prettierrc
  5. +1 −1 CONTRIBUTING.md
  6. +38 −43 README.md
  7. +0 −1 __tests__/SimpleSlider.test.js
  8. +13 −0 __tests__/TestComponents.js
  9. +22 −16 __tests__/afterChange.test.js
  10. +36 −32 __tests__/arrows.js
  11. +15 −27 __tests__/beforeChange.test.js
  12. +0 −22 __tests__/index.js
  13. +7 −7 __tests__/jQSlickUtils.js
  14. +55 −55 __tests__/lazyLoad.test.js
  15. +1 −1 __tests__/mount/centerMode.test.js
  16. +1 −1 __tests__/mount/{lazyload.test.js → lazyLoad.test.js}
  17. +5 −2 __tests__/mount/simple.test.js
  18. +1 −1 __tests__/observations.json
  19. +30 −17 __tests__/reactSlickUtils.js
  20. +164 −0 __tests__/regression/fix-1813.test.js
  21. +25 −0 __tests__/regression/fix-1874.test.js
  22. +35 −0 __tests__/regression/fix-2315.test.js
  23. +62 −0 __tests__/regression/fix-2414.test.js
  24. +3 −4 __tests__/sliderStyles.test.js
  25. +23 −20 __tests__/testUtils.js
  26. +18 −0 __tests__/utils/filterSettings.test.js
  27. +6 −4 docs/index.js
  28. 0 {examples → docs}/scripts/generateExampleConfigs.js
  29. 0 {examples → docs}/scripts/generateExamples.js
  30. +9 −5 docs/single-demo.js
  31. +41 −41 examples/AdaptiveHeight.js
  32. +55 −57 examples/AppendDots.js
  33. +66 −75 examples/AsNavFor.js
  34. +39 −40 examples/AutoPlay.js
  35. +51 −55 examples/AutoPlayMethods.js
  36. +36 −37 examples/CenterMode.js
  37. +36 −37 examples/CustomArrows.js
  38. +37 −38 examples/CustomPaging.js
  39. +30 −33 examples/CustomSlides.js
  40. +33 −42 examples/DynamicSlides.js
  41. +32 −33 examples/Fade.js
  42. +36 −37 examples/FocusOnSelect.js
  43. +31 −32 examples/LazyLoad.js
  44. +45 −46 examples/MultipleItems.js
  45. +69 −70 examples/MultipleRows.js
  46. +37 −38 examples/PauseOnHover.js
  47. +54 −54 examples/PreviousNextMethods.js
  48. +57 −79 examples/Resizable.js
  49. +68 −69 examples/Responsive.js
  50. +39 −39 examples/Rtl.js
  51. +36 −37 examples/SimpleSlider.js
  52. +47 −46 examples/SlickGoTo.js
  53. +54 −53 examples/SlideChangeHooks.js
  54. +49 −50 examples/SwipeToSlide.js
  55. +36 −37 examples/UnevenSetsFinite.js
  56. +36 −37 examples/UnevenSetsInfinite.js
  57. +38 −39 examples/VariableWidth.js
  58. +42 −43 examples/VerticalMode.js
  59. +43 −44 examples/VerticalSwipeToSlide.js
  60. +0 −54 examples/__tests__/CenterMode.test.js
  61. +54 −0 examples/__tests__/CentreMode.test.js
  62. +11 −11 examples/__tests__/Fade.js
  63. +25 −8 examples/__tests__/FocusOnSelect.test.js
  64. +77 −147 examples/__tests__/MultipleItems.test.js
  65. +97 −92 examples/__tests__/SimpleSlider.test.js
  66. +27 −11 examples/__tests__/SlickGoTo.test.js
  67. +89 −88 examples/__tests__/UnevenSets.test.js
  68. +0 −373 examples/__tests__/__snapshots__/CenterMode.test.js.snap
  69. +0 −237 examples/__tests__/__snapshots__/FocusOnSelect.test.js.snap
  70. +0 −1,477 examples/__tests__/__snapshots__/MultipleItems.test.js.snap
  71. +0 −445 examples/__tests__/__snapshots__/SimpleSlider.test.js.snap
  72. +0 −559 examples/__tests__/__snapshots__/UnevenSets.test.js.snap
  73. +18 −4 examples/__tests__/sample.test.js
  74. +6 −4 examples/config.js
  75. +9 −14 gulpfile.js
  76. +5 −0 jest.config.js
  77. +34 −41 package.json
  78. +47 −0 playwright-ct.config.js
  79. +38 −0 playwright-tests/features/responsive/responsive.spec.tsx
  80. +71 −0 playwright-tests/features/responsive/responsive.story.tsx
  81. +26 −0 playwright-tests/regression/fix-1930/fix-1930.spec.tsx
  82. +40 −0 playwright-tests/regression/fix-1930/fix-1930.story.tsx
  83. +15 −0 playwright-tests/sample/sample.spec.tsx
  84. +5 −0 playwright-tests/sample/sample.story.tsx
  85. +12 −0 playwright/index.html
  86. +2 −0 playwright/index.jsx
  87. +4 −1 src/default-props.js
  88. +23 −12 src/inner-slider.js
  89. +11 −6 src/slider.js
  90. +28 −27 src/track.js
  91. +47 −19 src/utils/innerSliderUtils.js
  92. +0 −11 test-helpers.js
  93. +3 −13 test-setup.js
  94. +97 −0 test-utils.js
  95. +4 −1 webpack.config.js
14 changes: 9 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -9,22 +9,26 @@
"react/prop-types": 0,
"react/no-find-dom-node": 0,
"react/display-name": 0,
"no-console": 0
"no-console": 0,
"no-prototype-builtins": 0
},
"env": {
"node": true,
"browser": true,
"es6": true,
"jasmine": true
},
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"plugins": [
"react",
"import"
"react",
"import"
],
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended"
]
}
}
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github: akiran
open_collective: react-slick
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -19,3 +19,8 @@ docs/fonts/
docs/ajax-loader.gif
package-lock.json
.DS_Store
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
src-jsx
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trailingComma: none
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ We welcome any type of contribution, not only code. You can help with

## Your First Contribution

Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://app.egghead.io/playlists/how-to-contribute-to-an-open-source-project-on-github).

## Submitting code

81 changes: 38 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
### react-slick

[![Backers on Open Collective](https://opencollective.com/react-slick/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-slick/sponsors/badge.svg)](#sponsors) [![Join the chat at https://gitter.im/akiran/react-slick](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/akiran/react-slick?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Backers on Open Collective](https://opencollective.com/react-slick/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-slick/sponsors/badge.svg)](#sponsors)

##### Carousel component built with React. It is a react port of [slick carousel](http://kenwheeler.github.io/slick/)

## [Documentation](http://react-slick.neostack.com)

### :warning: Alert

:construction: react-slick@0.27.* releases are experimental.
:white_check_mark: **Use react-slick@0.26 in production** until we make our next stable release (react-slick@0.28)
:pray: We invite you to test react-slick@0.27.* in dev environment and report any breaking changes.

### Installation

**npm**
@@ -43,55 +37,53 @@ or add cdn link in your html
rel="stylesheet"
type="text/css"
charset="UTF-8"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css"
/>
<link
rel="stylesheet"
type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css"
/>
```

### [PlayGround](https://codesandbox.io/s/ppwkk5l6xx)
### [PlayGround](https://stackblitz.com/edit/vitejs-vite-ownrun?file=src%2FImageSlider.jsx)

### Example

```js
import React from "react";
import Slider from "react-slick";

class SimpleSlider extends React.Component {
render() {
var settings = {
dots: true,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1
};
return (
<Slider {...settings}>
<div>
<h3>1</h3>
</div>
<div>
<h3>2</h3>
</div>
<div>
<h3>3</h3>
</div>
<div>
<h3>4</h3>
</div>
<div>
<h3>5</h3>
</div>
<div>
<h3>6</h3>
</div>
</Slider>
);
}
export default function SimpleSlider() {
var settings = {
dots: true,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1
};
return (
<Slider {...settings}>
<div>
<h3>1</h3>
</div>
<div>
<h3>2</h3>
</div>
<div>
<h3>3</h3>
</div>
<div>
<h3>4</h3>
</div>
<div>
<h3>5</h3>
</div>
<div>
<h3>6</h3>
</div>
</Slider>
);
}
```

@@ -115,7 +107,10 @@ npm start
open http://localhost:8080
```

## Community

Join our [discord channel](https://discord.gg/z7stRE4Cyb) to discuss react-slick bugs and ask for help

## Contributing

Please see the [contributing guidelines](./CONTRIBUTING.md)

1 change: 0 additions & 1 deletion __tests__/SimpleSlider.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// includes tests of
// SimpleSlider, MultipleItems
import { mount } from "enzyme";
import { testSlider } from "./testUtils";

describe("SimpleSlider with combinations of possibilities", function() {
13 changes: 13 additions & 0 deletions __tests__/TestComponents.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";
import Slider from "../src/index";

export function GenericSliderComponent({ slidesCount, settings }) {
const slides = [...Array(slidesCount).keys()].map(item => (
<div key={item}>{item + 1}</div>
));
return <Slider {...settings}>{slides}</Slider>;
}

test("fake test", () => {
expect(1).toBe(1);
});
38 changes: 22 additions & 16 deletions __tests__/afterChange.test.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
import React from "react";
import { mount } from "enzyme";
import { render, fireEvent } from "@testing-library/react";
import Slider from "../src/index";
import {
getActiveSlide,
clickNext,
clickPrevious,
getCurrentSlide
} from "../test-utils";

class SliderWithBeforeChange extends React.Component {
class SliderWithAfterChange extends React.Component {
constructor(props) {
super(props);
this.state = {
currentSlide: null
};
this.afterChange = this.afterChange.bind(this);
}

afterChange(currentSlide) {
console.log(currentSlide, "afterChange");
this.setState({
@@ -30,19 +37,18 @@ class SliderWithBeforeChange extends React.Component {

describe("After change Slider", function() {
it("should render", function() {
const wrapper = mount(<SliderWithBeforeChange />);
expect(wrapper.state()).toEqual({ currentSlide: null });
wrapper.find(".slick-next").simulate("click");

//TBD . fix this test

// expect(wrapper.find('.slick-slide.slick-active').first().text()).toEqual('slide2');
// expect(wrapper.state()).toEqual({currentSlide: 1})
// wrapper.find('.slick-next').simulate('click')
// expect(wrapper.find('.slick-slide.slick-active').first().text()).toEqual('slide3');
// expect(wrapper.state()).toEqual({currentSlide: 2})
// wrapper.find('.slick-prev').simulate('click')
// expect(wrapper.find('.slick-slide.slick-active').first().text()).toEqual('slide2');
// expect(wrapper.state()).toEqual({currentSlide: 1})
const { container } = render(<SliderWithAfterChange />);
clickNext(container);
setTimeout(() => {
expect(getActiveSlide(container).textContent).toEqual("slide2");
}, 1000);
clickNext(container);
setTimeout(() => {
expect(getActiveSlide(container).textContent).toEqual("slide3");
}, 1000);
clickPrevious(container);
setTimeout(() => {
expect(getActiveSlide(container).textContent).toEqual("slide2");
}, 1000);
});
});
68 changes: 36 additions & 32 deletions __tests__/arrows.js
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

sinon.stub(console, "error");

import { render, shallow } from "enzyme";
import { render } from "@testing-library/react";
import React from "react";
import sinon from "sinon";

@@ -22,48 +22,52 @@ function CustomArrow(props) {

describe("Previous arrows", () => {
it("should render arrow", () => {
const wrapper = shallow(<PrevArrow />);
expect(wrapper.find("button")).toHaveLength(1);
const { container } = render(<PrevArrow />);
expect(Array.from(container.getElementsByTagName("button"))).toHaveLength(
1
);
});

it("should not result in errors", () => {
shallow(<PrevArrow />);
render(<PrevArrow />);

expect(console.error.called).toBe(false);
});

// it('should pass slide data to custom arrow', () => {
// let elAttributes;
// let arr = <CustomArrow />
//
// const wrapper = render(<PrevArrow currentSlide={3} prevArrow={arr} slideCount={5} />);
//
// elAttributes = wrapper.find('.sample')[0].attribs;
// expect(elAttributes['data-currentslide']).toBe('3');
// expect(elAttributes['data-slidecount']).toBe('5');
// });
// it('should pass slide data to custom arrow', () => {
// let elAttributes;
// let arr = <CustomArrow />

// const {container}= render(<PrevArrow currentSlide={3} prevArrow={arr} slideCount={5} />);

// elAttributes =x=> container.querySelectorAll('.sample')[0].getAttribute(x);
// expect(elAttributes('data-currentslide')).toBe('3');
// expect(elAttributes('data-slidecount')).toBe('5');
// });
});

describe("Next arrows", () => {
it("should render arrow", () => {
const wrapper = shallow(<NextArrow />);
expect(wrapper.find("button")).toHaveLength(1);
const { container } = render(<NextArrow />);
expect(Array.from(container.getElementsByTagName("button"))).toHaveLength(
1
);
});

// it('should not result in errors', () => {
// shallow(<NextArrow />);
//
// expect(console.error.called).toBe(false);
// });

// it('should pass slide data to custom arrow', () => {
// let elAttributes;
// let arr = <CustomArrow />
//
// const wrapper = render(<NextArrow currentSlide={6} nextArrow={arr} slideCount={9} />);
//
// elAttributes = wrapper.find('.sample')[0].attribs;
// expect(elAttributes['data-currentslide']).toBe('6');
// expect(elAttributes['data-slidecount']).toBe('9');
// });
// it('should not result in errors', () => {
// render(<NextArrow />);

// expect(console.error.called).toBe(false);
// });

// it('should pass slide data to custom arrow', () => {
// let elAttributes;
// let arr = <CustomArrow />

// const {container} = render(<NextArrow currentSlide={6} nextArrow={arr} slideCount={9} />);

// elAttributes =(x)=> container.querySelectorAll('.sample')[0].getAttribute(x);
// expect(elAttributes('data-currentslide')).toBe('6');
// expect(elAttributes('data-slidecount')).toBe('9');
// });
});
Loading