﻿using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebDriverDesignPattern.Pages.SortablePage
{
    public partial class SortablePage
    {
        public void AssertTargetLocationIsChanged()
        {
            Assert.IsTrue(Item2.Location.Y > Item1.Location.Y);
        }
        public void AssertClassAtribute(string text)
        {
            Assert.AreEqual(text, Item1.GetAttribute("class"));
        }
    }
}
